Live threats

All CVEs / Php

CVE-2024-5585Php

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
Yes
Published
Jun 9, 2024
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-78, CWE-116
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue: 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.

Affected products (CPE)

VendorProductVersions
phpphp≥ 8.1.0 < 8.1.29
phpphp≥ 8.2.0 < 8.2.20
phpphp≥ 8.3.0 < 8.3.8
fedoraprojectfedora40

Official sources

References

Links published by the sources. Open them with care.