Improper Handling of Windows Device Names Affecting php/php-src package, versions [,8.2.34)[8.3.0RC1,8.3.35)[8.4.0RC1,8.4.26)[8.5.0RC1,8.5.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PHPPHPSRC-20158676
  • published27 Sept 2026
  • disclosed25 Sept 2026
  • creditcrisprss,OSTIF-Derek

Introduced: 25 Sep 2026

NewCVE-2026-17545  (opens in a new tab)
CWE-67  (opens in a new tab)

How to fix?

Upgrade php/php-src to version 8.2.34, 8.3.35, 8.4.26, 8.5.11 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Windows Device Names in php_stream_open_wrapper_ex(), php_win32_ioutil_open_w(), VCWD_RENAME(), and php_copy_file_ex(), which do not reject reserved names such as CON, PRN, AUX, NUL, COM1 through COM9, LPT1 through LPT9, CONIN$, and CONOUT$ when they appear as a path component, so the resulting handle refers to a device rather than a file. An attacker can hang a request and exhaust the worker pool by repeatedly supplying one of those names as a filename in an upload or download parameter, since I/O against a blocking device never returns, and reads and writes against the others do not behave as file operations. This affects only Windows deployments where the application builds paths from user input, and the path component matching is case insensitive and applies with or without an extension.

CVSS Base Scores

version 4.0
version 3.1