Security mailing lists by PureSourceCode

CVE-2020-7066

MEDIUM 4.3CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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:N
NVD 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:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.2.0, < 7.2.29 7.2.29
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.3.0, < 7.3.16 7.3.16
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.4.0, < 7.4.4 7.4.4
NVD tenable tenable.sc
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
< 5.19.0 5.19.0
NVD tenable tenable.sc
cpe:2.3:a:tenable:tenable.sc:5.19.0:*:*:*:*:*:*:*
= 5.19.0
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe: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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.