Vulnerabilities

CVE-2019-11045

Medium 5.9 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2019-12-23
Last modified
2026-08-17
Assigned by
security@php.net
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
8.8 % higher than 95 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Canonical Ubuntu Linux 12.04 Affected
Canonical Ubuntu Linux 14.04 Affected
Canonical Ubuntu Linux 16.04 Affected
Canonical Ubuntu Linux 18.04 Affected
Canonical Ubuntu Linux 19.04 Affected
Canonical Ubuntu Linux 19.10 Affected
Debian Debian Linux 10.0 Affected
Debian Debian Linux 8.0 Affected
Debian Debian Linux 9.0 Affected
Fedoraproject Fedora 30 Affected
Fedoraproject Fedora 31 Affected
Opensuse Leap 15.1 Affected
Php Php 7.4.0 Affected
Php Php ≥ 7.2.0, ≤ 7.2.26 Affected
Php Php ≥ 7.3.0, ≤ 7.3.13 Affected
Tenable Security Center < 5.19.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities