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.
Last updated
Overview
CWE-67 (Improper Handling of Windows Device Names) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
Historically, there was a bug in the Windows operating system that caused a blue screen of death. Even after that issue was fixed DOS device names continue to be a factor.
Real-world CVEs
7 recorded CVEs are caused by CWE-67 (Improper Handling of Windows Device Names). The highest-severity and most recent are shown first. 4 new CWE-67 CVEs have been recorded so far in 2026 (1 in 2025).