Skip to content
Emerging threatsMedium

CVE-2012-2329PHP Memory Corruption

php: buffer overflow flaw in apache_request_headers() in PHP 5.4.x

Published May 8, 2012 · Updated Aug 6, 2024

Key Facts

Patch immediately
  • CVE-2012-2329 is a medium-severity vulnerability (CVSS 5.0 v2) affecting PHP.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 62% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v2

5.0

AV:N/AC:L/Au:N/C:N/I:N/A:P

EPSS (30-day exploit likelihood)

62%

Higher than 99.1% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

51/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

Description

Buffer overflow in the apache_request_headers function in sapi/cgi/cgi_main.c in PHP 5.4.x before 5.4.3 allows remote attackers to cause a denial of service (application crash) via a long string in the header of an HTTP request.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
PHPPHP5.4.0, 5.4.1, 5.4.2n/a

Timeline

  1. Publicly disclosed

    May 8, 2012

  2. Last updated

    Aug 6, 2024

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-120 Buffer Copy without Checking Size of Input
  • CWE-697 Incorrect Comparison

References

5 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-2329 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.