CVE-2020-7059

published 10 Feb 2020 · updated 17 Sep 2024

OOB read in php_strip_tags_ex

6.5MediumCVSS 6.5EPSS 7%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. Fixed in PHP 7.2.27, PHP 7.3.14 and PHP 7.4.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=7.2.x <7.2.27, >=7.3.x <7.3.14, >=7.4.x <7.4.27.2.27, 7.3.14, 7.4.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-7059 severity on Zeptric[![CVE-2020-7059](https://zeptric.io/badge/cve/CVE-2020-7059.svg)](https://zeptric.io/cve/CVE-2020-7059)