CVE-2019-11045
php: DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 22, 2019
Updated · August 18, 2026
Description
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-170 · Improper Null Termination