CVE-2012-2386

high
Published 2012-07-07 · Modified 2026-04-29
CVSS v3
CVSS v2
7.5
VIR risk
7.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://bugs.php.net/bug.php?id=61065

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.php.net/ChangeLog-5.php

Application impact

VendorProductVersionsFixed
php phpphp{"endIncluding":"5.3.13"}

References

CWEs

CWE-189

Verify integrity in audit chain (admin only). AS-IS.