Vulnerabilityin PHP.
No public exploit found; not on exploited lists.
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.
- Upgrade PHP to 7.2.26, 7.3.13, 7.4.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Apr 2019CVE ID reserved by php.
- 23 Dec 2019Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other PHP vulnerabilities
Same weakness: Improper null termination
- bugs.php.net x_refsource_MISC
- lists.debian.org mailing-list, x_refsource_MLIST
- security.netapp.com x_refsource_CONFIRM
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- seclists.org mailing-list, x_refsource_BUGTRAQ
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- seclists.org mailing-list, x_refsource_BUGTRAQ
- seclists.org mailing-list, x_refsource_BUGTRAQ
- www.tenable.com x_refsource_CONFIRM
Patchminder. CVE-2019-11045: Vulnerability in PHP. https://patchminder.com/cve/cve-2019-11045/ (accessed 5 December 2026).