Back
CVE-2012-2336
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle…
Medium5.0EPSS 52.1%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 52.1% · top 1.0% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (8)
- SUSE-SU-2012:0721 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SU-2012:0840 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://bugs.php.net/patch-display.php?bug_id=61910&patch=CVE-2012-1823.patch&revision=1336251592&display=1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 49014 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://bugs.php.net/bug.php?id=61910 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/archive/2012.php#id2012-05-08-1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSRT100992 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www.php.net/ChangeLog-5.php#5.4.3 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .