Vulnerabilities

CVE-2026-17545

High 7.5 CVSS 3.1

Description

On Windows, PHP's filesystem and stream APIs do not reject reserved device names such as CON, PRN, AUX, NUL, COM1 to COM9, LPT1 to LPT9, CONIN$ and CONOUT$ when they appear as a component of a path. An attacker-controlled filename therefore reaches CreateFileW() and opens a device instead of the regular file the application expected, which can block or hang the request and exhaust worker processes.

Description as published by the source, in English.

Key facts

Published
2026-09-25
Last modified
2026-10-23
Assigned by
security@php.net
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Microsoft Windows all versions listed Not affected
Php Php ≥ 8.2.0, < 8.2.34 Affected
Php Php ≥ 8.3.0, < 8.3.35 Affected
Php Php ≥ 8.4.0, < 8.4.26 Affected
Php Php ≥ 8.5.0, < 8.5.11 Affected

Weakness type

  • CWE-67: Improper Handling of Windows Device Names

    The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information…

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities