Skip to content
Vulnerability Intelligence

CVE-2012-2329

MediumPublic exploit

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.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2012-2329 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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 ('Classic Buffer Overflow')
  • CWE-697 Incorrect Comparison

References

5 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-2329 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo