boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Monday, October 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2012-1823

n/a n/a — PHP PHP
  AV  AC  PR  UI  S  C  I  A   CVSS     EPSS    %ile   KEV
   N   L   N   N  U  H  H  H    9.8   1.0000   100.0   YES
AFFECTED
  Product  Versions  Fixed
  n/a      n/a –     —
TIMELINE
  Mar 21  Reserved by certcc
  May 11  Published (CNA: certcc)
  Mar 25  Added to CISA KEV, remediation due 2022-04-15
CWE-77 · CNA: certcc · CVSS v3.1 · 31 references · KEV due April 15, 2022

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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
March 21, 2012ReservedReserved by certcc
May 11, 2012PublishedPublished (CNA: certcc)
March 25, 2022KEV ADDEDAdded to CISA KEV, remediation due 2022-04-15

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
n/an/a—n/a—

Weaknesses

CWE-77

References (31)

Related

Authoritative record: CVE-2012-1823 at cve.org

Weaknesses: CWE-77

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2012-1823 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Monday, October 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.