CVE-2019-11045

DirectoryIterator class silently truncates after a null byte

State
Published
Severity
3.7 Low
Published
Dec 23, 2019
Updated
Sep 16, 2024
Reserved
Apr 9, 2019

Read the record on cve.org

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

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:Nphp

Weaknesses

Affected Products

ProductVersions
PHPPHP Group
  • 7.2.x to before 7.2.26Affected
  • 7.3.x to before 7.3.13Affected
  • 7.4.x to before 7.4.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.