Use after freein PHP.
No public exploit found; not on exploited lists.
In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.
- Upgrade PHP to 7.2.33, 7.3.21, 7.4.9 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
- 15 Jan 2020CVE ID reserved by php.
- 9 Sep 2020Published in the CVE List.
- 17 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: Use after free
- bugs.php.net x_refsource_MISC
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- security.netapp.com x_refsource_CONFIRM
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.tenable.com x_refsource_CONFIRM
Patchminder. CVE-2020-7068: Use after free in PHP. https://patchminder.com/cve/cve-2020-7068/ (accessed 5 December 2026).