Back
CVE-2019-11045
DirectoryIterator class silently truncates after a null byte
Low3.7EPSS 8.8%
- Published
- Updated
- Reserved
- Assigned by
- php
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| phpCNA (assigner) | 3.1 | Low3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 8.8% · top 4.8% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.7.
Weakness
Affected products
References (13)
- https://bugs.php.net/bug.php?id=78863 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20191229 [SECURITY] [DLA 2050-1] php5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://security.netapp.com/advisory/ntap-20200103-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2019-437d94e271 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-a54a622670 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-4239-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- openSUSE-SU-2020:0080 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 20200218 [SECURITY] [DSA 4626-1] php7.3 security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-4626 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-4628 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20200219 [SECURITY] [DSA 4628-1] php7.0 security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20210116 Re: [SECURITY] [DSA 4628-1] php7.0 security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- https://www.tenable.com/security/tns-2021-14 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-11045)Record last updated .