kbrain

CVE-2012-0831

MEDIUM · CVSS 6.8EPSS 6.5%EU EUVD

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.

Key facts

CVSS score
6.8 (v2.0)
Severity
MEDIUM
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness (CWE)
CWE-20
EPSS score
6.5% (94th percentile)
In CISA KEV
No
In EU EUVD
Yes (EUVD-2012-0857)
Published
February 10, 2012
NVD last modified
June 16, 2026
Status
Modified

EU Vulnerability Database (EUVD)

This vulnerability is also tracked by ENISA as EUVD-2012-0857 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.

View on the EU Vulnerability Database

Affected products

  • php / php

References

Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS

Query CVEs from your AI assistant

The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.

Add the CVE brain