Skip to main content
All vulnerabilities
CVE-2012-1823

PHP-CGI Query String Parameter Vulnerability

PHP — PHP

EPSS (30-day exploitation probability)
100.0% · 99.9th percentile · 20 November 2026
Added to KEV catalog
25 March 2022
Federal remediation due date
15 April 2022
Weakness classification (CWE)
CWE-20

Is CVE-2012-1823 actively exploited?

Yes. CISA added CVE-2012-1823 to its Known Exploited Vulnerabilities catalog on 25 March 2022, which means there is evidence it has been exploited in the wild. FIRST's EPSS model estimates a 100.0% probability of exploitation activity in the next 30 days, placing it in the 99.9th percentile of all scored CVEs.

How do I fix CVE-2012-1823?

CISA's required action for CVE-2012-1823 is: Apply updates per vendor instructions. US federal agencies must remediate it by 15 April 2022; treat that as an outside deadline, not a target.

CISA Description

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.

Required action

Apply updates per vendor instructions.

Notes

https://nvd.nist.gov/vuln/detail/CVE-2012-1823

Confirm Your Exposure

Is this vulnerability present in your environment?

CRS delivers independent VAPT assessments that identify exactly which known-exploited vulnerabilities exist in your network, applications, and infrastructure.

Explore VAPT Services