CVEMETERBack to radar
OFFICIAL RECORD · PHP

CVE-2024-1874

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.4 · critical

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

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 32.799% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.4 · published by php
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Assessment source · checked 2026-11-19T10:45:50.803Z

CVSS 3.1 · 9.4 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Assessment source · checked 2026-11-19T14:19:00.650Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T10:45:50.803ZCVE Program
epssverified2026-11-19T16:04:37.769ZFIRST EPSS
patchesverified2026-11-19T14:19:00.650ZUbuntu Security
affectedverified2026-11-19T10:45:50.803ZCVE Program
lifecycleverified2026-11-19T10:45:50.803ZCVE Program

Affected versions and configuration

PHP Group PHP (Windows); default status: affected: 8.1.* to < 8.1.28 [affected; scheme: semver]; 8.2.* to < 8.2.18 [affected; scheme: semver]; 8.3.* to < 8.3.5 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "php8.3",
    "debian": "https://tracker.debian.org/pkg/php8.3",
    "source": "https://ubuntu.com/security/cve?package=php8.3",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=php8.3",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "bionic"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "mantic"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.3.6",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "",
        "release_codename": "noble"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "PHP Group",
      "product": "PHP",
      "versions": [
        {
          "status": "affected",
          "version": "8.1.*",
          "lessThan": "8.1.28",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.2.*",
          "lessThan": "8.2.18",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.3.*",
          "lessThan": "8.3.5",
          "versionType": "semver"
        }
      ],
      "platforms": [
        "Windows"
      ],
      "defaultStatus": "affected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-1874",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2024-04-29T13:05:18.510843Z"
            }
          }
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:php_group:php:8.1.0:*:*:*:*:*:*:*"
          ],
          "vendor": "php_group",
          "product": "php",
          "versions": [
            {
              "status": "affected",
              "version": "8.1.0"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:php_group:php:8.2.0:*:*:*:*:*:*:*"
          ],
          "vendor": "php_group",
          "product": "php",
          "versions": [
            {
              "status": "affected",
              "version": "8.2.0"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:2.3:a:php_group:php:8.3.0:*:*:*:*:*:*:*"
          ],
          "vendor": "php_group",
          "product": "php",
          "versions": [
            {
              "status": "affected",
              "version": "8.3.0"
            }
          ],
          "defaultStatus": "unknown"
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2024-06-04T18:00:58.913Z"
      }
    },
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2024/04/12/11",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20240510-0009/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2024/06/07/1",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.vicarius.io/vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585"
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/"
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/"
        },
        {
          "url": "https://www.kb.cert.org/vuls/id/123335"
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2025-11-04T18:22:36.621Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamphp8.3Not a distribution channel8.3.6Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history