← Global Threat Landscape

CVE-2012-1823

CWE-77

Critical

103.8

RPS

Description

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.

Source: NVD

Signals

CVSS
9.8
Critical · v3.1
EPSS
99.99%
Probability of exploitation in the next 30 days (FIRST)
CISA KEV
In CISA KEV since Mar 2022
Fix commit
Fix commit known
Sources: MoreFixes, FreshFixes
Weakness
CWE-77
Published
11 May 2012
Last modified 21 Apr 2026

How to read these signals: RPS · EPSS · CISA KEV · Data sources

Get this score from the API

curl -H "Authorization: Bearer dsec_live_xxxxxxxx" \
  https://api.intelligence.devsecure.io/api/v1/rps/CVE-2012-1823

Replace the placeholder with your key. Get a free API key or rank your own CVEs.

Data as of 7 Oct 2026, 05:16 UK time

CVE-2012-1823 · RPS 103.8 · DevSecure Intelligence