CVE catalog

CVE-2012-2311

php5 - several

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianphp56.05.3.3-7vulnerable
Debianphp56.05.3.3-7+squeeze1vulnerable
Debianphp56.05.3.3-7+squeeze2vulnerable
Debianphp56.05.3.3-7+squeeze3vulnerable
Debianphp56.05.3.3-7+squeeze5vulnerable
Debianphp56.05.3.3-7+squeeze6vulnerable
Debianphp56.05.3.3-7+squeeze7vulnerable
Debianphp56.05.3.3-7+squeeze8vulnerable
Debianphp56.05.3.3-7+squeeze9fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp5deb6.05.3.3-7+squeeze9Not reportedDSA-2465-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References