Skip to main content
← All vulnerabilities
CVE-2026-17545

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.34, 8.3.35, 8.4.26, 8.5.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • PHP Group PHP

    From 8.2.* · fixed in 8.2.34; From 8.3.* · fixed in 8.3.35; From 8.4.* · fixed in 8.4.26; From 8.5.* · fixed in 8.5.11

References 1

GitHub · php/php-src