Buffer overflow in PHP

CVE-2012-2329

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.619 (99.2th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2012-2329: held from 0.623 to 0.619.

EPSS over last 30 days · oldest: 0.623 · newest: 0.619 · change: -0.004

Affected products

  • PHP — versions 5.4.0, 5.4.1, 5.4.2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2012-2329?
CVE-2012-2329 is a vulnerability in PHP, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2012-05-11.
Is CVE-2012-2329 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.