Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-1874

47
FAUCET Score

CVE-2024-1874 is a critical command injection vulnerability affecting PHP versions 8.1.*, 8.2.*, and 8.3.* when using the proc_open() function with array syntax on Windows. This flaw allows an unauthenticated attacker to execute arbitrary commands if they can control the arguments passed to the executed command due to insufficient escaping. With a CVSS score of 9.4 (Critical), it presents a high risk of complete compromise of confidentiality and integrity, with partial availability impact. While there is no known active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered significant community discussion and media coverage, indicating high awareness.

Impacted Technologies

VendorProductVersion(s)CPE
>= 8.1.0, < 8.1.28CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.18CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.3.0, < 8.3.5CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
39CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
40CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.4CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
Exploitability Score
3.9
Impact Score
5.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
32.57%
Probability of exploitation in next 30 days
EPSS Percentile
98.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
This CVE's current EPSS score of 0.3257 is in the 95th percentile among its peer group of 36,835 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (11)

microsoftpatch availablevia msrc
Product: cbl2 php 8.1.22-2 on CBL Mariner 2.0Fixed in: 8.1.28-1
microsoftpatch availablevia msrc
Product: 17719-17084Fixed in: 8.3.8-1
microsoftpatch availablevia msrc
Product: 17752-17084Fixed in: 8.3.8-1
microsoftpatch availablevia msrc
Product: 20014-17086Fixed in: 8.1.28-1
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 8.1.28-1
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 8.1.28-1
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 x64Fixed in: 8.3.8-1
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 ARMFixed in: 8.3.8-1
microsoftpatch availablevia msrc
Product: azl3 php 8.3.8-1 on Azure Linux 3.0Fixed in: 8.3.8-1
microsoftpatch availablevia msrc
Product: azl3 php 8.3.6-1 on Azure Linux 3.0Fixed in: 8.3.8-1
github_advisoryvendor investigatingvia nvd_reference
View patch

Vendor Advisories (3)

microsoft2024-Jun/CVE-2024-1874

CVE-2024-1874

Jun 11, 2024
microsoft2024-Apr/CVE-2024-1874Critical

Command injection via array-ish $command parameter of proc_open()

Apr 9, 2024
redhatCVE-2024-1874

php: Fail to Escape Arguments Properly in Microsoft Windows

Apr 9, 2024

References

lists.fedoraproject.org / archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY
lists.fedoraproject.org / archives/list/[email protected]/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY
kb.cert.org / vuls/id/123335
vicarius.io / vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585
ExploitThird Party Advisory
github.com / php/php-src/security/advisories/GHSA-pc52-254m-w9w7
ExploitVendor Advisory
lists.fedoraproject.org / archives/list/[email protected]/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B
Mailing List
lists.fedoraproject.org / archives/list/[email protected]/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK
Mailing List
security.netapp.com / advisory/ntap-20240510-0009
Third Party Advisory
openwall.com / lists/oss-security/2024/04/12/11
Mailing List
openwall.com / lists/oss-security/2024/06/07/1
Mailing List