VDB

CVE-2020-7059

CVE-2020-7059 PUBLISHED CVSS 6.5 MEDIUM

OOB read in php_strip_tags_ex

Reported by php · Published February 10, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
communications_diameter_signaling_routeroracle8.4
php7.2Ubuntu:18.04:LTS7.2.24-0ubuntu0.18.04.3

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected products

VendorProductVersions
PHP GroupPHP7.2.x, 7.3.x, 7.4.x
alpinephp70, 0
PHP GroupPHP7.2.x, 7.3.x, 7.4.x

Timeline

  • Feb 10, 2020 CVE Published
  • Nov 9, 2020 PoC Published (6 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (7 in total, the first dated here)
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7059
vulnetix vdb fixes CVE-2020-7059

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7059/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›