CVE search · CVE-2026-17545
CVE-2026-17545
medium 6.9
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.
Details
- Status
- Analyzed
- Published
- Last changed
- Source
- security@php.net
- Weakness
- CWE-67
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 4.0 | medium 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
security@php.netSecondary |
| CVSS 3.1 | high 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- php · php
References
- https://github.com/php/php-src/security/advisories/GHSA-9f67-6fw4-hpfpVendor AdvisoryExploit
- https://github.com/php/php-src/security/advisories/GHSA-9f67-6fw4-hpfpVendor AdvisoryExploit