1. Archivio CVE
  2. 2026
  3. CVE-2026-17545

CVE-2026-17545

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
php php >= 8.2.0 < 8.2.34 –
php php >= 8.3.0 < 8.3.35 –
php php >= 8.4.0 < 8.4.26 –
php php >= 8.5.0 < 8.5.11 –
Tutte le 757 vulnerabilità di Php

Tipo di vulnerabilità

CWE-67 Improper Handling of Windows Device Names

The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Riservatezza, Altro Interruzione del servizio: arresto o riavvio, Leggere i dati dell’applicazione, Altro

Come si previene

Sviluppo Be familiar with the device names in the operating system where your system is deployed. Check input for these device names.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 7 CVE di tipo CWE-67, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org