Vulnerability database / CVE-2020-7059
CVE-2020-7059
CRITICAL 9.1 CVSS 3.1 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.
Published 10 Feb 2020
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-125 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD
security@php.net (Secondary)
CVSS 3.1
MEDIUM 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.4
AV:N/AC:L/Au:N/C:P/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.2.0, < 7.2.27
7.2.27 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.3.0, < 7.3.14
7.3.14 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.4.0, < 7.4.2
7.4.2 NVD
tenable
tenable.sccpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
< 5.19.0
5.19.0 NVD
oracle
communications_diameter_signaling_routercpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
>= 8.0, <= 8.4
NVD
opensuse
leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
References
History
25 Nov 2026 20:31 UTC · NVD: first stored (published 10 Feb 2020)