VDB

CVE-2019-11045

CVE-2019-11045 PUBLISHED CVSS 3.7 LOW

DirectoryIterator class silently truncates after a null byte

Reported by php · Published December 23, 2019

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php7Alpine7.3.13-r0, 7.2.26-r0
security_centertenable5.19.0
php7.0Ubuntu:16.04:LTS7.0.33-0ubuntu0.16.04.9
securitycentertenable5.19.0
php7.2Ubuntu:18.04:LTS7.2.24-0ubuntu0.18.04.2
php5Ubuntu:Pro:14.04:LTS5.5.9+dfsg-1ubuntu4.29+esm8

Risk scores

CVSS 3.1
3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
PHP GroupPHP7.2.x, 7.3.x, 7.4.x
alpinephp70, 0
PHP GroupPHP7.2.x, 7.3.x, 7.4.x

Timeline

  • Dec 23, 2019 CVE Published
  • Nov 9, 2020 PoC Published (6 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (6 in total, the first dated here)
  • Sep 16, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-11045
vulnetix vdb fixes CVE-2019-11045

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-11045/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›