CVE-2019-11045 Details
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.
A vulnerability exists in the PHP DirectoryIterator class in versions 7.2.x prior to 7.2.26, 7.3.x prior to 7.3.13, and 7.4.0. The issue arises because the DirectoryIterator accepts filenames with embedded null bytes and incorrectly treats them as terminating at the null byte. This behavior can lead to security vulnerabilities in applications that rely on proper path validation.
Users can upgrade to PHP versions 7.2.26, 7.3.13, or 7.4.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-170 | Improper Null Termination | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 7.2.0, <= 7.2.26 >= 7.3.0, <= 7.3.13 7.4.0 |
CPE
Remediation
| |
| fedoraproject fedora | 30 31 |
CPE
Remediation
| |
| debian debian linux | 8.0 9.0 10.0 |
CPE
Remediation
| |
| opensuse leap | 15.1 |
CPE
Remediation
| |
| canonical ubuntu linux | 12.04 14.04 16.04 18.04 19.04 19.10 |
CPE
Remediation
| |
| tenable security center | < 5.19.0 |
CPE
Remediation
| |
Change History
21 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 17, 2026 | CPE Deprecation Remap | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 20, 2022 | Modified Analysis | [email protected] |
| Jul 22, 2021 | CVE Modified | [email protected] |
| Jan 30, 2021 | Modified Analysis | [email protected] |
| Jan 17, 2021 | CVE Modified | [email protected] |
| Oct 2, 2020 | Modified Analysis | [email protected] |
| Feb 19, 2020 | CVE Modified | [email protected] |
| Feb 18, 2020 | CVE Modified | [email protected] |
| Feb 18, 2020 | CVE Modified | [email protected] |
| Jan 20, 2020 | CVE Modified | [email protected] |
| Jan 15, 2020 | CVE Modified | [email protected] |
| Jan 9, 2020 | Modified Analysis | [email protected] |
| Jan 5, 2020 | CVE Modified | [email protected] |
| Jan 3, 2020 | CVE Modified | [email protected] |
| Jan 3, 2020 | CVE Modified | [email protected] |
| Jan 2, 2020 | Initial Analysis | [email protected] |
| Dec 30, 2019 | CVE Modified | [email protected] |