{"cve":"CVE-2012-1823","nvd":{"published":"2012-05-11T10:15:48.043","modified":"2026-06-16T23:40:22.147","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-77"],"references":["http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/","http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041","http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00002.html","http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html"],"products":["apple:mac_os_x","debian:debian_linux","fedoraproject:fedora","hp:hp-ux","opensuse:opensuse","php:php","redhat:application_stack","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_workstation","redhat:gluster_storage_server_for_on-premise","redhat:storage","redhat:storage_for_public_cloud","suse:linux_enterprise_server","suse:linux_enterprise_software_development_kit"],"source":"nvd","synced_at":"2026-10-19T20:24:00.973572543+00:00"},"epss":{"cve":"CVE-2012-1823","score":0.99998,"percentile":0.9999,"date":"2026-10-31"},"kev":{"cve":"CVE-2012-1823","date_added":"2022-03-25","due_date":"2022-04-15","vendor":"PHP","product":"PHP","known_ransomware":false},"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}