A AegiFlow
HIGHCVSS 7.5

CVE-2012-2386

CVE-2012-2386 updated by NVD

Modified
2026-09-20
Sources
nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PHPphp[object Object], [object Object]

References

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.