Skip to main content
CVE-2012-1823VulnerabilityPublished 03/25/2022Updated 10/24/2026

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

Affects PHP PHPSource CISA KEV

Severity
High

No CVSS score published yet

Exploitation

Actively exploited – in CISA KEV since 03/25/2022

KEV deadline
04/15/2022
EPSS
100.0% chance of exploitation in 30 days – higher than 99% of CVEs

What to do

CISA required action

Apply updates per vendor instructions.

Description

CVE-2012-1823 is a vulnerability in PHP when configured as a CGI script. It involves improper handling of query strings in the sapi/cgi/cgi_main.c component, enabling remote attackers to execute arbitrary code. This vulnerability has been exploited in the wild and is considered high severity.

Weaknesses

References

Track PHP PHP with alerts and the API. See plans

Added 10/24/2026 · analysed 10/24/2026 · updated 10/24/2026