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.
Remediation
References
Related Vulnerabilities
Moodle Other Vulnerability (CVE-2007-3555)
Moodle Permissions, Privileges, and Access Controls Vulnerability (CVE-2014-7837)
IBM RTC Inadequate Encryption Strength Vulnerability (CVE-2017-1701)
Oracle JRE CVE-2013-0433 Vulnerability (CVE-2013-0433)
EspoCRM Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2025-32789)