{"schema_version":"1.8.0","id":"CVE-2020-7065","published":"2020-04-01T04:15:13.943Z","modified":"2026-08-07T11:31:31.511837021Z","aliases":["BIT-libphp-2020-7065","BIT-php-2020-7065","BIT-php-min-2020-7065"],"related":["ALSA-2020:3662"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"52ace952a1b65ca80fc2617f11c2fa6dd03f51bd"},{"fixed":"4e330d3d488c232ad5f9769f1fa9471c9b5ad088"},{"introduced":"3c7824e16ec4c3cee417262445d2c2b66531c10f"},{"fixed":"acfdeccb2ee5821138a8d68b12177daff1e63e41"}],"database_specific":{"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.3.0"},{"fixed":"7.3.16"},{"introduced":"7.4.0"},{"fixed":"7.4.4"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7065.json"}}],"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200403-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4330-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4330-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4719"},{"type":"ADVISORY","url":"https://www.php.net/ChangeLog-7.php#7.4.4"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2021-14"},{"type":"FIX","url":"https://bugs.php.net/bug.php?id=79371"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*"],"extracted_events":[{"fixed":"5.19.0"}],"source":"CPE_RANGE","vendor_product":"tenable:tenable.sc"},{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"12.04"},{"last_affected":"12.04"},{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"19.10"},{"last_affected":"19.10"},{"introduced":"20.04"},{"last_affected":"20.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}