{"id":"CVE-2020-7065","state":"PUBLISHED","title":"mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full","description":"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.","publishedAt":"2020-04-01T03:35:13.554Z","updatedAt":"2024-09-17T04:25:45.769Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.16","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.4","versionType":"custom"}]}],"references":["https://usn.ubuntu.com/4330-1/","https://usn.ubuntu.com/4330-2/","https://www.debian.org/security/2020/dsa-4719","https://security.netapp.com/advisory/ntap-20200403-0001/","https://www.oracle.com/security-alerts/cpuoct2021.html","https://bugs.php.net/bug.php?id=79371","https://www.php.net/ChangeLog-7.php#7.4.4","https://www.tenable.com/security/tns-2021-14"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7065.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7065","state":"PUBLISHED","datePublished":"2020-04-01T03:35:13.554Z","dateUpdated":"2024-09-17T04:25:45.769Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2020-01-15T00:00:00.000Z"},"containers":{"cna":{"title":"mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full","descriptions":[{"lang":"en","value":"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":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.16","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.4","versionType":"custom"}]}],"references":[{"url":"https://usn.ubuntu.com/4330-1/","name":"USN-4330-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4330-2/","name":"USN-4330-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2020/dsa-4719","name":"DSA-4719","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.netapp.com/advisory/ntap-20200403-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=79371","tags":["x_refsource_MISC"]},{"url":"https://www.php.net/ChangeLog-7.php#7.4.4","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2021-10-20T10:40:12.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"credits":[{"lang":"en","value":"anatoly dot trosinenko at gmail dot com"}],"datePublic":"2020-03-17T00:00:00.000Z","source":{"defect":["https://bugs.php.net/bug.php?id=79371"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2020-03-17T05:39:00.000Z","ID":"CVE-2020-7065","STATE":"PUBLIC","TITLE":"mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.3.x","version_value":"7.3.16"},{"version_affected":"<","version_name":"7.4.x","version_value":"7.4.4"}]}}]},"vendor_name":"PHP Group"}]}},"credit":[{"lang":"eng","value":"anatoly dot trosinenko at gmail dot com"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121 Stack-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"USN-4330-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4330-1/"},{"name":"USN-4330-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4330-2/"},{"name":"DSA-4719","refsource":"DEBIAN","url":"https://www.debian.org/security/2020/dsa-4719"},{"name":"https://security.netapp.com/advisory/ntap-20200403-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20200403-0001/"},{"name":"https://www.oracle.com/security-alerts/cpuoct2021.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"name":"https://bugs.php.net/bug.php?id=79371","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=79371"},{"name":"https://www.php.net/ChangeLog-7.php#7.4.4","refsource":"CONFIRM","url":"https://www.php.net/ChangeLog-7.php#7.4.4"},{"name":"https://www.tenable.com/security/tns-2021-14","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2021-14"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=79371"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/4330-1/","name":"USN-4330-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4330-2/","name":"USN-4330-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://www.debian.org/security/2020/dsa-4719","name":"DSA-4719","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20200403-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=79371","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.php.net/ChangeLog-7.php#7.4.4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:18:02.991Z"}}]}}}