high CVSS 7.5 EPSS 0.37%

CVE-2026-17545·PHP vulnerability

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.

Severity
high
Software
PHP
Fixed in
8.5.11
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.37% — higher than 31% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Read the two together. CVE-2026-17545 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.37%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.

Affected versions

From: 8.5.0

Until: 8.5.11

Fixed in: 8.5.11

How to fix this CVE

Update PHP to version 8.5.11 or later to patch the Windows device name validation bypass. This vulnerability allows attackers to manipulate file operations by using reserved Windows device names in path parameters, potentially causing denial of service through worker process exhaustion. Immediately apply the security update to all Windows-based PHP installations running versions 8.5.0 through 8.5.10.

sudo dnf update php

Defensia detects this vulnerability

How to check if you are affected

  1. Step 1: Check installed PHP version with: php -v
  2. Step 2: Verify the PHP installation path and loaded extensions with: php -m and php -i | grep -i 'extension_dir'
  3. Step 3: Search application logs for file operations using reserved names (CON, PRN, AUX, NUL, COM1-COM9, LPT1-LPT9, CONIN$, CONOUT$) with: grep -iE '(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9]|CONIN\$|CONOUT\$)' /var/log/php-errors.log /var/log/apache2/error.log
  4. Step 4: Confirm the patch by running php -v and verifying version is 8.5.11 or later

FAQ

What is CVE-2026-17545?

This vulnerability affects PHP on Windows systems where the filesystem and stream APIs fail to properly validate reserved Windows device names (such as CON, PRN, COM1, etc.) in file paths. Attackers can exploit this to redirect file operations to system devices, potentially causing application hangs and denial of service.

Is CVE-2026-17545 being actively exploited?

No, CVE-2026-17545 is not currently listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, the high CVSS score (7.5) warrants prompt patching.

What versions of PHP are affected by CVE-2026-17545?

PHP versions 8.5.0 through 8.5.10 are vulnerable on Windows platforms. PHP 8.5.11 and later contain the fix.

How do I check if my server is vulnerable to CVE-2026-17545?

Run php -v to display your PHP version. If it shows 8.5.0 to 8.5.10, your Windows PHP installation is vulnerable. Additionally, verify your system is running on Windows with: wmic os get caption

Does Defensia detect CVE-2026-17545?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP is installed on a monitored server, CVE-2026-17545 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-17545. Free for 1 server.

Get started free