CVE-2012-2386

php: Integer overflow leading to heap-buffer overflow in the Phar extension

Published Jul 7, 2012 CVSS 2.0 · 7.5 High EPSS 42.1% KEV · Not listed
Description
Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2492-1 php5 security update
Ubuntu USN Ubuntu USN USN-1481-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 7:34 PM
Reserved
Apr 19, 2012, 12:00 AM
Status
Modified
Published
Jul 7, 2012, 10:21 AM
Modified
Jun 16, 2026, 11:41 PM
Severity
Moderate
Public date
May 21, 2012, 12:00 AM