Vulnerability database / CVE-2020-7066
CVE-2020-7066
MEDIUM 4.3 CVSS 3.1 In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.
Published 1 Apr 2020
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-170 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
security@php.net (Secondary)
CVSS 3.1
MEDIUM 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.3
AV:N/AC:M/Au:N/C:P/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.2.0, < 7.2.29
7.2.29 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.3.0, < 7.3.16
7.3.16 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.4.0, < 7.4.4
7.4.4 NVD
tenable
tenable.sccpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
< 5.19.0
5.19.0 NVD
tenable
tenable.sccpe:2.3:a:tenable:tenable.sc:5.19.0:*:*:*:*:*:*:*
= 5.19.0
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
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
References
History
25 Nov 2026 20:31 UTC · NVD: first stored (published 1 Apr 2020)