DirectoryIterator class silently truncates after a null byte
Published Dec 23, 2019
5.9
MEDIUMCVSS 3.1
EPSS 8.82%
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.
Affected products
-
- Version 7.2.xStatusaffectedConstraints<7.2.26
- Version 7.3.xStatusaffectedConstraints<7.3.13
- Version 7.4.xStatusaffectedConstraints<7.4.1
- Version
Configuration 1
Configuration 2
- 30
- 31
Configuration 3
- 8.0
- 9.0
- 10.0
Configuration 5
- 12.04
- 14.04
- 16.04
- 18.04
- 19.04
- 19.10
Configuration 6
- < 5.19.0
No data.
Red Hat Enterprise Linux 8
php:7.3-8020020200715124551.ceb1cf90
Fixed · RHSA-2020:3662
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Enterprise Linux 5
php
Out of support scope
Red Hat Enterprise Linux 5
php53
Out of support scope
Red Hat Enterprise Linux 6
php
Out of support scope
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Enterprise Linux 8
php:7.2/php
Will not fix
Red Hat Software Collections
rh-php72-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.3-8020020200715124551.ceb1cf90 | Fixed | RHSA-2020:3662 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Enterprise Linux 5 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 5 | php53 | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | php:7.2/php | Will not fix | n/a |
| Red Hat Software Collections | rh-php72-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (60 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 8.82% (0.08818) | 95.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.82% (0.08818) | 94.50th | v5 (v2026.06.15) |
| Mar 4, 2026 | 40.95% (0.40952) | 97.30th | v4 (v2025.03.14) |
| Mar 1, 2026 | 45.94% (0.45942) | 97.58th | v4 (v2025.03.14) |
| Feb 4, 2026 | 40.95% (0.40952) | 97.27th | v4 (v2025.03.14) |
| Feb 1, 2026 | 45.94% (0.45942) | 97.55th | v4 (v2025.03.14) |
| Jan 4, 2026 | 40.95% (0.40952) | 97.24th | v4 (v2025.03.14) |
| Jan 1, 2026 | 45.94% (0.45942) | 97.53th | v4 (v2025.03.14) |
| Dec 28, 2025 | 40.95% (0.40952) | 97.23th | v4 (v2025.03.14) |
| Dec 27, 2025 | 23.71% (0.23712) | 95.83th | v4 (v2025.03.14) |
| Dec 4, 2025 | 40.95% (0.40952) | 97.21th | v4 (v2025.03.14) |
| Dec 1, 2025 | 45.94% (0.45942) | 97.50th | v4 (v2025.03.14) |
| Nov 30, 2025 | 40.95% (0.40952) | 97.21th | v4 (v2025.03.14) |
| Nov 21, 2025 | 35.84% (0.35844) | 96.90th | v4 (v2025.03.14) |
| Nov 18, 2025 | 11.95% (0.11951) | 93.07th | v4 (v2025.03.14) |
| Nov 4, 2025 | 35.84% (0.35844) | 96.89th | v4 (v2025.03.14) |
| Nov 1, 2025 | 34.34% (0.34339) | 96.81th | v4 (v2025.03.14) |
| Oct 28, 2025 | 35.84% (0.35844) | 96.89th | v4 (v2025.03.14) |
| Oct 27, 2025 | 19.84% (0.19839) | 95.21th | v4 (v2025.03.14) |
| Oct 4, 2025 | 35.84% (0.35844) | 96.96th | v4 (v2025.03.14) |
| Oct 1, 2025 | 34.34% (0.34339) | 96.87th | v4 (v2025.03.14) |
| Sep 4, 2025 | 19.84% (0.19839) | 95.24th | v4 (v2025.03.14) |
| Sep 1, 2025 | 15.88% (0.15878) | 94.52th | v4 (v2025.03.14) |
| Aug 20, 2025 | 19.47% (0.19467) | 95.16th | v4 (v2025.03.14) |
| Aug 19, 2025 | 23.71% (0.23712) | 95.77th | v4 (v2025.03.14) |
| Jul 30, 2025 | 30.86% (0.30856) | 96.55th | v4 (v2025.03.14) |
| Jul 11, 2025 | 49.34% (0.49338) | 97.66th | v4 (v2025.03.14) |
| Jul 4, 2025 | 40.59% (0.40595) | 97.20th | v4 (v2025.03.14) |
| Jul 1, 2025 | 43.85% (0.43849) | 97.39th | v4 (v2025.03.14) |
| Jun 4, 2025 | 40.59% (0.40595) | 97.18th | v4 (v2025.03.14) |
| Jun 1, 2025 | 43.85% (0.43849) | 97.38th | v4 (v2025.03.14) |
| May 5, 2025 | 40.59% (0.40595) | 97.15th | v4 (v2025.03.14) |
| May 1, 2025 | 43.85% (0.43849) | 97.35th | v4 (v2025.03.14) |
| Apr 15, 2025 | 40.59% (0.40595) | 97.13th | v4 (v2025.03.14) |
| Apr 14, 2025 | 43.85% (0.43849) | 97.28th | v4 (v2025.03.14) |
| Apr 13, 2025 | 40.59% (0.40595) | 97.10th | v4 (v2025.03.14) |
| Apr 12, 2025 | 43.85% (0.43849) | 97.28th | v4 (v2025.03.14) |
| Mar 30, 2025 | 40.59% (0.40595) | 97.08th | v4 (v2025.03.14) |
| Mar 29, 2025 | 62.11% (0.62114) | 97.65th | v4 (v2025.03.14) |
| Mar 24, 2025 | 40.59% (0.40595) | 97.06th | v4 (v2025.03.14) |
| Mar 23, 2025 | 43.85% (0.43849) | 97.14th | v4 (v2025.03.14) |
| Mar 22, 2025 | 40.59% (0.40595) | 97.11th | v4 (v2025.03.14) |
| Mar 21, 2025 | 43.85% (0.43849) | 97.28th | v4 (v2025.03.14) |
| Mar 20, 2025 | 40.59% (0.40595) | 97.11th | v4 (v2025.03.14) |
| Mar 19, 2025 | 43.85% (0.43849) | 97.13th | v4 (v2025.03.14) |
| Mar 17, 2025 | 40.59% (0.40595) | 97.04th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.81% (0.00809) | 82.45th | v3 (v2023.03.01) |
| Apr 11, 2024 | 0.81% (0.00809) | 81.47th | v3 (v2023.03.01) |
| Nov 12, 2023 | 0.82% (0.00820) | 79.86th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.95% (0.00952) | 81.41th | v3 (v2023.03.01) |
| May 8, 2023 | 0.34% (0.00339) | 67.00th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.33% (0.00332) | 66.49th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.56% (0.24563) | 95.26th | v2 (v2022.01.01) |
| Feb 3, 2022 | 11.74% (0.11741) | 88.45th | v1 |
| Jan 6, 2022 | 11.74% (0.11741) | 88.31th | v1 |
| Sep 1, 2021 | 2.88% (0.02880) | 80.71th | v1 |
| Jul 23, 2021 | 2.88% (0.02880) | 0.00th | v1 |
| Apr 14, 2021 | 2.68% (0.02678) | 0.00th | v1 |
References (17)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-11045 Vendor Advisory
- https://bugs.php.net/bug.php?id=78863 x_refsource_MISCExploitMailing ListPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1786572 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2019/12/msg00034.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-11045
- https://seclists.org/bugtraq/2020/Feb/27 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://seclists.org/bugtraq/2020/Feb/31 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://seclists.org/bugtraq/2021/Jan/3 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20200103-0002/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4239-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-11045
- https://www.debian.org/security/2020/dsa-4626 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.debian.org/security/2020/dsa-4628 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.tenable.com/security/tns-2021-14 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.