CVE & CISA-KEV Catalog

CVE-2020-7066

MEDIUMEPSS 86th pctl
5.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
php7.4Debian
Fixed in:7.4.5-1CVE-2020-7066

This Debian release reached end-of-life on 2024-08-14.

libapache2-mod-php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

libapache2-mod-php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

libapache2-mod-php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libapache2-mod-php7.4Ubuntu
Fixed in:7.4.3-4ubuntu1.1USN-4330-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php5-cgiUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php5-cliUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.0-cgiUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.0-cliUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.2-cgiUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.2-cliUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.4Ubuntu
Fixed in:7.4.3-4ubuntu1.1USN-4330-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php7.4-cgiUbuntu
Fixed in:7.4.3-4ubuntu1.1USN-4330-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php7.4-cliUbuntu
Fixed in:7.4.3-4ubuntu1.1USN-4330-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php7.4-fpmUbuntu
Fixed in:7.4.3-4ubuntu1.1USN-4330-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php7.4-mbstringUbuntu
Fixed in:7.4.3-4ubuntu1.1USN-4330-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

2.77%probability of exploitation in 30 days
86thpercentile

Elevated risk: more likely to be exploited than 86% of all known CVEs.

References

Related Vulnerabilities

Other CWE-170 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-22931Critical9.822%-Fix
CVE-2019-11045Low3.78.8%-Fix
CVE-2019-11044Low3.75.1%-Fix
CVE-2019-8275Critical9.84.0%-Fix
CVE-2020-27736Medium6.53.6%-Fix
CVE-2021-31886Critical9.83.0%-Fix

Common questions

How do I fix CVE-2020-7066?

Published advisories record a fix for 22 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2020-7066 being actively exploited?

Not that we know of. CVE-2020-7066 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.8% is the estimated probability that it will be exploited in the next 30 days. That is higher than 86% of all scored CVEs.

How severe is CVE-2020-7066?

CVE-2020-7066 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2020-7066 affect?

Published advisories record a fix for php7.4 (Debian), libapache2-mod-php5 (Ubuntu), libapache2-mod-php7.0 (Ubuntu), libapache2-mod-php7.2 (Ubuntu), and 18 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2020-7066
CVE-2020-7066 severity badge

Markdown

[![CVE-2020-7066](https://tridentstack.com/cve/badge/CVE-2020-7066.svg)](https://tridentstack.com/cve/CVE-2020-7066)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-7066"><img src="https://tridentstack.com/cve/badge/CVE-2020-7066.svg" alt="CVE-2020-7066"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.