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.
Published: 2026-09-25
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

PHP’s filesystem and stream APIs on Windows do not reject reserved device names such as CON, PRN, AUX, NUL, COM1‑COM9, LPT1‑LPT9, CONIN$ and CONOUT$ when they appear as part of a file path. As a result the operating system opens the named device instead of the requested file, causing a request to block or hang and eventually exhausting all worker processes. The flaw is a classic filename validation failure, represented by CWE‑66 and CWE‑67.

Affected Systems

The vulnerability affects all PHP releases that run on Windows. No specific version constraints are listed, so any Windows‑enabled PHP installation that has not applied an official fix remains at risk.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity, and the EPSS score is not available while the vulnerability is not listed in CISA’s KEV catalog, suggesting limited evidence of exploitation. The attack vector is straightforward; an application that forwards an attacker‑controlled filename to PHP’s stream API will trigger the bug, making the flaw easy to exploit in a susceptible environment.

Generated by OpenCVE AI on September 26, 2026 at 01:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest PHP release that includes the fix for this issue.
  • Implement strict validation on all user‑supplied filenames to reject Windows reserved device names before handing them to PHP.
  • Restrict file uploads and path handling to trusted directories and enforce isolation, for example by running the application in a container or sandbox.

Generated by OpenCVE AI on September 26, 2026 at 01:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Php Group
Php Group php
Vendors & Products Php Group
Php Group php

Sat, 26 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-66
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title PHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can cause DoS
Weaknesses CWE-67
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2026-09-25T20:43:34.157Z

Reserved: 2026-07-27T10:15:15.310Z

Link: CVE-2026-17545

cve-icon Vulnrichment

Updated: 2026-09-25T20:43:29.843Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-25T21:17:23.253

Modified: 2026-09-29T21:27:41.130

Link: CVE-2026-17545

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T20:18:11Z

Links: CVE-2026-17545 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T08:45:03Z

Weaknesses
  • CWE-66

    Improper Handling of File Names that Identify Virtual Resources

  • CWE-67

    Improper Handling of Windows Device Names