
CVE catalog
CVE-2012-2311
php5 - several
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 69.27% · Oct 25, 2026
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 contain a %3D sequence but no = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php5 | 6.0 | 5.3.3-7 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze1 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze2 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze3 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze5 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze6 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze7 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze8 | vulnerable |
| Debian | php5 | 6.0 | 5.3.3-7+squeeze9 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php5 | deb | 6.0 | 5.3.3-7+squeeze9 | Not reported | DSA-2465-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed: