CVE
CVE-2012-1823
- First Reported
- Oct 7, 2025
- Latest Reported
- Oct 7, 2025
CVE Enrichment
- CVSS
- 9.8 CRITICAL
- EPSS
- 100.00%
- EPSS Percentile
- 99.99%
- CISA KEV
- YES — Known Exploited Vulnerability
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- cret@cert.org
- Published
- 11-May-2012 17:15
- Last Modified
- 17-Jun-2026 06:40
- EPSS Date
- 2026-10-12
- CWE
- CWE-77
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:H
CISA KEV Details
- Date Added
- 2022-03-25
- Remediation Due
- 2022-04-15
- Known Ransomware Campaign Use
- Unknown
- Required Action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2012-1823
Affected Products / Versions
- php / php
Version / affected range: * · before (exclusive) 5.3.12
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - php / php
Version / affected range: * · from (inclusive) 5.4.0 · before (exclusive) 5.4.2
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - fedoraproject / fedora
Version / affected range: 39
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* - fedoraproject / fedora
Version / affected range: 40
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* - debian / debian_linux
Version / affected range: 6.0
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* - hp / hp-ux
Version / affected range: b.11.23
cpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:* - hp / hp-ux
Version / affected range: b.11.31
cpe:2.3:o:hp:hp-ux:b.11.31:*:*:*:*:*:*:* - opensuse / opensuse
Version / affected range: 11.4
cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* - opensuse / opensuse
Version / affected range: 12.1
cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:* - suse / linux_enterprise_server
Version / affected range: 10
cpe:2.3:o:suse:linux_enterprise_server:10:sp4:*:*:-:*:*:* - suse / linux_enterprise_server
Version / affected range: 11
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* - suse / linux_enterprise_server
Version / affected range: 11
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:* - suse / linux_enterprise_software_development_kit
Version / affected range: 10
cpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp4:*:*:*:*:*:* - suse / linux_enterprise_software_development_kit
Version / affected range: 11
cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* - apple / mac_os_x
Version / affected range: * · from (inclusive) 10.6.8 · before (exclusive) 10.7.5
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* - apple / mac_os_x
Version / affected range: * · from (inclusive) 10.8.0 · before (exclusive) 10.8.2
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* - redhat / application_stack
Version / affected range: 2.0
cpe:2.3:a:redhat:application_stack:2.0:*:*:*:*:*:*:* - redhat / gluster_storage_server_for_on-premise
Version / affected range: 2.0
cpe:2.3:a:redhat:gluster_storage_server_for_on-premise:2.0:*:*:*:*:*:*:* - redhat / storage
Version / affected range: 2.0
cpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:* - redhat / storage_for_public_cloud
Version / affected range: 2.0
cpe:2.3:a:redhat:storage_for_public_cloud:2.0:*:*:*:*:*:*:* - redhat / enterprise_linux_desktop
Version / affected range: 6.0
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* - redhat / enterprise_linux_eus
Version / affected range: 5.6
cpe:2.3:o:redhat:enterprise_linux_eus:5.6:*:*:*:*:*:*:* - redhat / enterprise_linux_eus
Version / affected range: 6.1
cpe:2.3:o:redhat:enterprise_linux_eus:6.1:*:*:*:*:*:*:* - redhat / enterprise_linux_eus
Version / affected range: 6.2
cpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:* - redhat / enterprise_linux_server
Version / affected range: 5.0
cpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:* - redhat / enterprise_linux_server
Version / affected range: 6.0
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* - redhat / enterprise_linux_server_aus
Version / affected range: 5.3
cpe:2.3:o:redhat:enterprise_linux_server_aus:5.3:*:*:*:*:*:*:* - redhat / enterprise_linux_server_aus
Version / affected range: 5.6
cpe:2.3:o:redhat:enterprise_linux_server_aus:5.6:*:*:*:*:*:*:* - redhat / enterprise_linux_workstation
Version / affected range: 5.0
cpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:* - redhat / enterprise_linux_workstation
Version / affected range: 6.0
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
References
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- CISA Advisory
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- PHP CGI exploitation (CVE-2012-1823) Leaked Documents Reveal APT35’s Espionage Operations, Tooling and Victim Data
CVE (5)
Malware (2)
People (11)
Threat Actors (4)
MITRE ATT&CK (10)
Products (22)
Tools (15)
Industries (7)
Countries (13)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.