CVE catalog

CVE-2012-0831

php5 - several

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
6.47% · Oct 25, 2026

PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c. php: PG(magic_quote_gpc) was not restored on shutdown This issue does not affect the version of php as shipped with Red Hat Enterprise Linux 5. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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+squeeze8fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp5deb6.05.3.3-7+squeeze8Not reportedDSA-2408-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References