{"id":"CVE-2020-7065","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.","aliases":["BIT-libphp-2020-7065","BIT-php-2020-7065","BIT-php-min-2020-7065"],"modified":"2026-03-20T11:37:55.471690Z","published":"2020-04-01T04:15:13.943Z","related":["ALSA-2020:3662","MGASA-2020-0148"],"references":[{"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":"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":"FIX","url":"https://bugs.php.net/bug.php?id=79371"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"52ace952a1b65ca80fc2617f11c2fa6dd03f51bd"},{"fixed":"4e330d3d488c232ad5f9769f1fa9471c9b5ad088"},{"introduced":"3c7824e16ec4c3cee417262445d2c2b66531c10f"},{"fixed":"acfdeccb2ee5821138a8d68b12177daff1e63e41"}],"database_specific":{"versions":[{"introduced":"7.3.0"},{"fixed":"7.3.16"},{"introduced":"7.4.0"},{"fixed":"7.4.4"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7065.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.10"}]},{"events":[{"introduced":"0"},{"last_affected":"20.04"}]},{"events":[{"introduced":"0"},{"fixed":"5.19.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}