SecurityContext

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

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/php_apache_request_headers_bof.rbmetasploit2012-05-08

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=820000Patch
http://secunia.com/advisories/49014
http://www.php.net/ChangeLog-5.php#5.4.3
http://www.php.net/archive/2012.php#id2012-05-08-1
http://www.securityfocus.com/bid/53455
https://bugs.php.net/bug.php?id=61807
https://exchange.xforce.ibmcloud.com/vulnerabilities/75545
https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 5.4.2, = 5.4.1, = 5.4.0nonvd/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