
CVE catalog
CVE-2012-0831
php5 - several
- 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.
| 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 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php5 | deb | 6.0 | 5.3.3-7+squeeze8 | Not reported | DSA-2408-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed: