{"id":"CVE-2020-7059","published":"2020-02-10T07:45:13Z","modified":"2024-09-17T02:37:14Z","title":"OOB read in php_strip_tags_ex","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.07116,"percentile":0.94392,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://seclists.org/bugtraq/2020/Feb/27","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.debian.org/security/2020/dsa-4626","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/4279-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2020/dsa-4628","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2020/Feb/31","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.gentoo.org/glsa/202003-57","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=79099","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200221-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://seclists.org/bugtraq/2021/Jan/3","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":18.88},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 7.2.x, < 7.2.27",">= 7.3.x, < 7.3.14",">= 7.4.x, < 7.4.2"]}],"workarounds":{"items":["Usage of fgetss() has been DEPRECATED as of PHP 7.3.0. Please use strip_tags() or other means sanitizing HTML code."],"from":"CVE.org CNA","provenance":"source"},"summary":{"text":"The flaw is an out-of-bounds read in the php_strip_tags_ex function of PHP, reachable when the fgetss() function is used to read data while stripping tags. An attacker who can supply data to fgetss() in affected PHP 7.2.x, 7.3.x, and 7.4.x releases before the fixed versions can cause reads past the allocated buffer, which may disclose information or crash the process, and requires no authentication, privileges, or user interaction over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:21Z"},"euvd":{"id":"EUVD-2020-28193","exploited":false,"provenance":"source"}}