CVE-2019-11045: DirectoryIterator class silently truncates after a null byte
Vulnerability summary
CVE-2019-11045 is a medium (CVSS 5.9) Improper Null Termination vulnerability in canonical ubuntu_linux. EPSS estimates a 8.82% chance of exploitation in the next 30 days, higher than 95.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 8Timeline
- 23-12-2019PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
8.82%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
No change 0.00 pp
From 8.82% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-170Improper Null TerminationThe product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.
- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream ComponentThe product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- php5< 5.5.9+dfsg-1ubuntu4.29+esm8
- php7.0< 7.0.33-0ubuntu0.16.04.9
- php7.2< 7.2.24-0ubuntu0.18.04.2
Alpine1 product
- php7< 7.3.13-r0 | < 7.2.26-r0
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 18.04 | 19.04 | 19.10
Debian1 product
- debian_linuxEOL8.0 | 9.0 | 10.0
Fedoraproject1 product
- fedoraEOL30 | 31
Opensuse1 product
- leapEOL15.1
Php1 product
- phpEOL≥ 7.2.0, ≤ 7.2.26 | ≥ 7.3.0, ≤ 7.3.13 | 7.4.0
Php group1 product
- php≥ 7.2.x, < 7.2.26 | ≥ 7.3.x, < 7.3.13 | ≥ 7.4.x, < 7.4.1
Tenable1 product
- security_center< 5.19.0
9 vendors · 11 products
References
18 links- lists.debian.org/debian-lts-announce/2019/12/msg00034.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory