{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-1874","published":"2024-04-29T04:15:07.580000Z","last_modified":"2026-06-17T07:05:11.613000Z","status":"Modified","cvss":{"version":"3.1","score":9.4,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"security@php.net","primary":false},"auth":false,"cwes":["CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.1.0","version_end_excluding":"8.1.28"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.2.0","version_end_excluding":"8.2.18"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.3.0","version_end_excluding":"8.3.5"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"39"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"40"}],"cpes_truncated":false,"vendors":["php","fedoraproject"],"products":["php/php","fedoraproject/fedora"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"epss":{"score":0.06846,"percentile":0.9481,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":72,"links":{"html_es":"/es/cve/CVE-2024-1874/","html_en":"/en/cve/CVE-2024-1874/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-1874","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-1874"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.","affected":[{"untrusted_vendor":"PHP Group","untrusted_product":"PHP","versions":[]},{"untrusted_vendor":"php_group","untrusted_product":"php","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/11","tags":["Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/07/1","tags":["Mailing List"]},{"url":"https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7","tags":["Exploit","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/","tags":["Mailing List"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0009/","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/","tags":[]},{"url":"https://www.kb.cert.org/vuls/id/123335","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585","tags":["Exploit","Third Party Advisory"]}]}}