CVE-2012-2329: PHP - Buffer Overflow
- Cve: CVE-2012-2329
- Name: PHP - Buffer Overflow
- 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.
- Impact: Remote attackers can cause a denial of service by crashing the PHP application through crafted headers.
- Remediation: Update to PHP 5.4.3 or later versions.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:N/A:P
- Epss score: 0.61921
- Epss percentile: 0.99195
- Assignee: [email protected]
- Published at: 2012-05-11T10:15:48Z
- Age in days: 5310
- Modified at: 2026-06-16T23:41:22Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-2329
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/php_apache_request_headers_bof.rb | metasploit | 2012-05-08 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| php:php | = 5.4.2, = 5.4.1, = 5.4.0 | no | nvd | /v1/products/php/php |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2012-05-08
- Remote: yes
- Exposed hosts: 6175026
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports