CVE-2026-17545
Reserved device names are not rejected before file and stream I/O
Severity: Medium CVSS 6.9. Status in our packages: Fixed.
About CVE-2026-17545
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.
Description quoted from the CVE record at cve.org.
| Published | 2026-09-25 |
|---|---|
| Weakness | CWE-67 Improper handling of windows device names |
| CVSS | 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 (scored by the CVE numbering authority) |
| Affected upstream | PHP 8.2.* before 8.2.34; PHP 8.3.* before 8.3.35; PHP 8.4.* before 8.4.26; PHP 8.5.* before 8.5.11 |
Status in GetPageSpeed packages
| Product | Status | Fixed in | Details |
|---|---|---|---|
| PHP 7.4 on Ubuntu 20.04 | Fixed | 1:7.4.33-31+gps1 | Everpatch PHP 7.4 |
| PHP 8.0 on Ubuntu 20.04 | Fixed | 1:8.0.30-25+gps1 | Everpatch PHP 8.0 |
| PHP 8.1 on Ubuntu 20.04 | Fixed | 8.1.34-9+gps1 | Everpatch PHP 8.1 |
| PHP 8.2 on Ubuntu 20.04 | Fixed | 8.2.35-1+gps1 | Everpatch PHP 8.2 |
| PHP 8.3 on Ubuntu 20.04 | Fixed | 8.3.36-1+gps1 | Everpatch PHP 8.3 |
| PHP 8.4 on Ubuntu 20.04 | Fixed | 8.4.27-1+gps1 | Everpatch PHP 8.4 |
| PHP 7.4 on Debian 10 | Fixed | 1:7.4.33-31+gps1 | Everpatch PHP 7.4 |
Check a server for CVE-2026-17545
Everpatch PHP on Debian and Ubuntu: PHP 7.4 on Ubuntu 20.04 1:7.4.33-31+gps1, PHP 8.0 on Ubuntu 20.04 1:8.0.30-25+gps1, PHP 8.1 on Ubuntu 20.04 8.1.34-9+gps1, PHP 8.2 on Ubuntu 20.04 8.2.35-1+gps1, PHP 8.3 on Ubuntu 20.04 8.3.36-1+gps1, PHP 8.4 on Ubuntu 20.04 8.4.27-1+gps1, PHP 7.4 on Debian 10 1:7.4.33-31+gps1 or later. The Debian changelog names every CVE a build fixes.
dpkg-query -W 'php*-common'
zgrep -F CVE-2026-17545 /usr/share/doc/php*-common/changelog.Debian.gzAfter a PHP update, restart PHP-FPM (and Apache httpd if it runs mod_php): the old processes keep the vulnerable code until then.
Fixed in the same build
- CVE-2026-91767: Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN
- CVE-2026-91766: Cross-origin credential leak in HTTP stream wrapper redirects
- CVE-2026-91765: SOAP: Unbounded Recursion in Server-Side cleanup_xml_node
- CVE-2026-17544: Out-of-bounds write in bccomp()
- CVE-2026-17543: SQL injection in ext-pgsql via E'...' backslash breakout
- CVE-2026-15353: SOAP information disclosure through malformed array dimensions
Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.