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| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | 5.4.0, 5.4.1, 5.4.2 | n/a |
Timeline
Publicly disclosed
May 8, 2012
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
- patchbugzilla.redhat.com · show_bug.cgi
- exploitMSF php_apache_request_headers_bof.rb
- exploitExploitDB-19231
- otherbugs.php.net · bug.php
- other49014
FAQ
Common Questions.
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: PHP versions 5.4.0, 5.4.1, 5.4.2. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
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.
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