Vendors › PHP

CVE-2026-17545

Medium (6.9) EPSS 0.5% PHP · core

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

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.

Published2026-09-24
Updated2026-09-25
AffectedPHP versions < 8.2.34; PHP versions < 8.3.35; PHP versions < 8.4.26; PHP versions < 8.5.11
FixUpgrade to 8.2.34, 8.3.35, 8.4.26, 8.5.11 (first fixed release per supported branch).
CVEMesh analysisA vulnerability in PHP on Windows allows an attacker to cause a denial-of-service (DoS) by using reserved device names in a filename. The advisory does not state exploitation conditions. To mitigate this issue, upgrade to PHP version 8.2.34, 8.3.35, 8.4.26, or 8.5.11.
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-9f67-6fw4-hpfp

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-17545CWE-67OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.