{"id":"CVE-2020-7059","details":"When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash.","aliases":["BIT-libphp-2020-7059","BIT-php-2020-7059","BIT-php-min-2020-7059"],"modified":"2026-02-11T12:49:24.912698Z","published":"2020-02-10T08:15:12.673Z","related":["ALSA-2020:3662","MGASA-2020-0066","SUSE-SU-2020:0397-1","SUSE-SU-2020:0522-1","SUSE-SU-2020:0622-1","SUSE-SU-2020:14289-1","SUSE-SU-2022:4067-1","openSUSE-SU-2020:0341-1"],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html"},{"type":"ADVISORY","url":"https://bugs.php.net/bug.php?id=79099"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Feb/27"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Feb/31"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2021/Jan/3"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202003-57"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200221-0002/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4279-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4626"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4628"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2020.html"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2021-14"},{"type":"FIX","url":"https://usn.ubuntu.com/4279-1/"},{"type":"FIX","url":"https://www.tenable.com/security/tns-2021-14"},{"type":"ARTICLE","url":"https://seclists.org/bugtraq/2020/Feb/27"},{"type":"ARTICLE","url":"https://seclists.org/bugtraq/2020/Feb/31"},{"type":"ARTICLE","url":"https://seclists.org/bugtraq/2021/Jan/3"},{"type":"EVIDENCE","url":"https://bugs.php.net/bug.php?id=79099"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"3c7824e16ec4c3cee417262445d2c2b66531c10f"},{"fixed":"264ef4f16300270dd4e92d2510660836a4814579"},{"introduced":"52ace952a1b65ca80fc2617f11c2fa6dd03f51bd"},{"fixed":"4b2854db6fd2fae5a950ae7ce25257ee08cee916"},{"introduced":"8148cbb78841c8ec0759c0836e7f35dec799d300"},{"fixed":"40c86aa3af2e25971e9c13460ca874348456410d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7059.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}