Vulnerabilities/PHP/CVE-2012-1823

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

CISA KEV entry · Last checked 15 Nov 2026, 13:39 UTC

Exploitation confirmedFix: Unknown

CVSS 3.1 · NVD9.8Critical
EPSS100.0%100th percentile · 15 Nov 2026
CISA KEVListedAdded 25 Mar 2022

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.

Recommended action

Apply updates per vendor instructions.

CISA due date 15 Apr 2022 · CWE-20

Am I affected?

ProductAffected versionsFixed in
PHP PHPUnknownUnknown

No source states a fixed version. Check the vendor advisory below.

Before you patch

Restart

See vendor guidance.

Known issues

Check release notes.

Verification

Confirm installed version.

Timeline

  • 25 Mar 2022 · Added to CISA KEV
  • 15 Apr 2022 · CISA due date

References

Show 10 more
Sources checked
CISA KEV15 Nov 2026, 13:39 UTC
CVE List v530 Oct 2026, 12:10 UTC
NVD15 Nov 2026, 13:39 UTC
FIRST EPSS15 Nov 2026, 13:39 UTC

Data from CISA, MITRE, NVD and FIRST. Sources and licences.

Wrong affected version, fix or exploitation status? Report a correction. Include the vendor source if you have it.