Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-17545 EUVD-2026-87329

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

Published Sep 25, 2026 · Updated Sep 25, 2026 · Assigned by php

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.

Affected products

VendorProductAffectedFixed
PHP Group PHP 8.2.* – < 8.2.34, 8.3.* – < 8.3.35, 8.4.* – < 8.4.26, 8.5.* – < 8.5.11 8.2.34

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS php8.5 No fix yet —
Ubuntu 24.04 LTS php8.3 No fix yet —
Ubuntu 22.04 LTS php8.1 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS php7.4 No fix yet —
Ubuntu Pro 18.04 LTS php7.2 No fix yet —
Ubuntu Pro 16.04 LTS php7.0 No fix yet —
Ubuntu Pro 14.04 LTS php5 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 php +26 8.5.11-2.hum1 RHSA-2026:70720
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php8 8.5.11-1.1 openSUSE-SU-2026:11901-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 php No fix yet —

Advisories 3

References