CVE-2020-7059: OOB read in php_strip_tags_ex

CVE-2020-7059 affects 7 listed versions of PHP in the Dawnsentry catalogue.

9.1CVSS critical
None knownexploitation
7%EPSS (next 30 days)
10 February 2020published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

7 of 250 listed versions are affected. Fixed in 7.2.27. The newest release, 8.6.0, is not affected.

7.2.26 7.2.25 7.2.24 7.2.23 7.2.22 7.2.21 7.2.20

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (NVD)

Published by Php on 10 February 2020. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2020-7059 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.