Code executionin PHP.
No public exploit found; not on exploited lists.
In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.
- Upgrade PHP to 7.3.16, 7.4.4 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.
- 1 Apr 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: Stack-based buffer overflow
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- security.netapp.com x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
- bugs.php.net x_refsource_MISC
- www.php.net x_refsource_CONFIRM
- www.tenable.com x_refsource_CONFIRM
Patchminder. CVE-2020-7065: Code execution in PHP. https://patchminder.com/cve/cve-2020-7065/ (accessed 5 December 2026).