ExploitedThisWeek

Known exploited vulnerability · PHP

CVE-2012-1823: PHP-CGI Query String Parameter Vulnerability

Vendor / productPHP PHP Added to CISA KEV2022-03-25 Federal remediation due2022-04-15 EPSS (30-day exploit probability)100.00% · higher than 100.0% of all CVEs WeaknessCWE-20

What it is

sapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code.

What to do

Apply updates per vendor instructions.

Advisories and references

Full record on NVD

Get the weekly list of actively exploited vulnerabilities.

Every Thursday: new CISA KEV entries ranked by exploitation probability, with vendor patch links. Free, no spam.

Other exploited PHP vulnerabilities

CVEProductAdded to KEVEPSS
CVE-2016-10033PHP PHPMailer2025-07-0799.71%
CVE-2019-11043 ransomwarePHP FastCGI Process Manager (FPM)2022-03-2599.78%