CVE-2026-17545

published 25 Sep 2026 · updated 13 Nov 2026

PHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can cause DoS

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP 8.2.34, PHP 8.3.35, PHP 8.4.26 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=8.2.* <8.2.34, >=8.3.* <8.3.35, >=8.4.* <8.4.26, >=8.5.* <8.5.118.2.34, 8.3.35, 8.4.26, 8.5.11

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-17545 severity on Zeptric[![CVE-2026-17545](https://zeptric.io/badge/cve/CVE-2026-17545.svg)](https://zeptric.io/cve/CVE-2026-17545)