Home/CVE/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-suppli
CVE

CVE-2020-70664

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-suppli

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.

MEDIUM · CVSS 5.3 EPSS 0.02767
EPSS exploitation odds2.77% · top 15%
Schedule remediation
  • Public exploit or PoC is available
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2020-7066, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

Exploitation evidence

1 of 7 sources
Corroboration score 8/100 · emerging. This counts how many independent sources have exploitation evidence, and separates two different things: confirmed in-the-wild use (CISA KEV, Microsoft MSRC, ransomware activity) from exploit / PoC availability (Metasploit, ExploitDB, Nuclei, public PoCs). A template or PoC existing means an attack is possible and easy - it is not, on its own, proof the CVE is being exploited in the wild.
Exploit / PoC available
public PoC

Exploitation momentum

899 days of EPSS
dormant
Flat and low - no real exploitation pressure. This reads the direction and speed of EPSS over time, which can move before EPSS itself peaks or before CISA lists it.
Window

Severity & exploitation scoring

View on NVD →
CVSS base score
5.3
MEDIUMCVSS v3.1 · [email protected]
EPSS exploitation probability
2.77%
Top 15%odds of exploitation in the next 30 days
CVSS metric silhouette
VectorComplexityPrivilegesInteractionScopeConfidentialityIntegrityAvailability
shape grows toward worst-case
SSVC triage
No SSVC vulnrichment for this CVE. CISA's Vulnrichment program scores newer CVEs (~2024 onwards) plus selected older critical ones. Use the EPSS probability + KEV status to triage instead.
CVSS vector breakdown
Exploitability - how they get in
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Impact - what breaks
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
VECTORCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Lifecycle
  1. 01 Apr 2020Published to NVD
  2. 17 Jun 2026Last modified
Every entry is a recorded date - NVD publish/modify, CISA KEV add, public exploit disclosure. No inferred events.
Attack path
Full kill chain

Public Exploits & PoCs

4
These PoC and exploit links come from public sources and are not verified to be safe or functional. Review the code before running anything, and treat unverified entries as untrusted. Signed-in users mark whether it works, rate 1-10, and can report malware with a required reason that becomes a public comment.
poc Public PoC (nvd-reference) date unknown
Vote & rate
Report or claim
⚠ Report this PoC

Becomes a public comment attributed as First L. (never full last name). Don't include private info. Rate-limited: 5/hour.

Works? no reports yet
Rating -
poc 0xbigshaq/php7-internals (trickest) date unknown
Vote & rate
Report or claim
⚠ Report this PoC

Becomes a public comment attributed as First L. (never full last name). Don't include private info. Rate-limited: 5/hour.

Works? no reports yet
Rating -
poc ARPSyndicate/cvemon (trickest) date unknown
Vote & rate
Report or claim
⚠ Report this PoC

Becomes a public comment attributed as First L. (never full last name). Don't include private info. Rate-limited: 5/hour.

Works? no reports yet
Rating -
poc bugs.php.net · bug.php?id=79329 bugs.php.net
Vote & rate
Report or claim
⚠ Report this PoC

Becomes a public comment attributed as First L. (never full last name). Don't include private info. Rate-limited: 5/hour.

Works? no reports yet
Rating -

ATT&CK techniques

1

Techniques this CVE enables. Pills with a solid outline are high confidence - named directly in ATT&CK or Nuclei, or human-curated by CTID; the rest are inferred from the weakness type using MITRE's CVE Mapping Methodology and the CWE → CAPEC chain. Broad, generic-weakness guesses are filtered out. A small marks a technique that N independent sources agree on.

▤ Build a SIEM detection for these techniques

Weakness Classification

Affected Products & Versions

7
php>= 7.2.0 and < 7.2.29
php>= 7.3.0 and < 7.3.16
php>= 7.4.0 and < 7.4.4
tenable tenable.scall versions
opensuse leapall versions
debian linuxall versions

Affected Packages

14
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
AlmaLinux:8 apcu-panel fixed in 5.1.17-1.module_el8.3.0+2009+b272fdef
AlmaLinux:8 libzip fixed in 1.5.2-1.module_el8.5.0+152+112d3b8c
AlmaLinux:8 libzip-devel fixed in 1.5.2-1.module_el8.4.0+2229+b272fdef
AlmaLinux:8 libzip-tools fixed in 1.5.2-1.module_el8.5.0+152+112d3b8c
AlmaLinux:8 php fixed in 7.3.20-1.module_el8.4.0+2229+b272fdef
AlmaLinux:8 php-bcmath fixed in 7.3.20-1.module_el8.4.0+2229+b272fdef
AlmaLinux:8 php-cli fixed in 7.3.20-1.module_el8.5.0+152+112d3b8c
AlmaLinux:8 php-common fixed in 7.3.20-1.module_el8.3.0+2009+b272fdef
AlmaLinux:8 php-dba fixed in 7.3.20-1.module_el8.5.0+152+112d3b8c
AlmaLinux:8 php-dbg fixed in 7.3.20-1.module_el8.3.0+2009+b272fdef
AlmaLinux:8 php-devel fixed in 7.3.20-1.module_el8.4.0+2229+b272fdef
AlmaLinux:8 php-embedded fixed in 7.3.20-1.module_el8.3.0+2009+b272fdef
AlmaLinux:8 php-enchant fixed in 7.3.20-1.module_el8.4.0+2229+b272fdef
AlmaLinux:8 php-fpm fixed in 7.3.20-1.module_el8.5.0+152+112d3b8c
📦

Fixed versions by distribution

80
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
oracle allapcu-panel open
oracle alllibzip open
oracle alllibzip-devel open
oracle alllibzip-tools open
oracle allphp fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-bcmath open
oracle allphp-cli open
oracle allphp-common open
oracle allphp-dba open
oracle allphp-dbg open
oracle allphp-devel fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-embedded fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-enchant fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-fpm open
oracle allphp-gd fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-gmp fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-intl open
oracle allphp-json fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-ldap open
oracle allphp-mbstring fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-mysqlnd open
oracle allphp-odbc open
oracle allphp-opcache open
oracle allphp-pdo open
oracle allphp-pear fixed in 1:1.10.9-1.module+el8.2.0+5569+98c8b30d
oracle allphp-pecl-apcu open
oracle allphp-pecl-apcu-devel open
oracle allphp-pecl-rrd fixed in 0:2.0.1-1.module+el8.2.0+5569+98c8b30d
oracle allphp-pecl-xdebug fixed in 0:2.8.0-1.module+el8.2.0+5569+98c8b30d
oracle allphp-pecl-zip fixed in 0:1.15.4-1.module+el8.2.0+5569+98c8b30d
oracle allphp-pgsql fixed in 0:7.3.20-1.module+el8.2.0+7784+4033621d
oracle allphp-process open
oracle allphp-recode open
oracle allphp-snmp open
oracle allphp-soap open
oracle allphp-xml open
oracle allphp-xmlrpc open
rhel 8apcu-panel fixed in 0:5.1.17-1.module+el8.1.0+3189+a1bff096
rhel 8libzip fixed in 0:1.5.2-1.module+el8.1.0+3189+a1bff096
rhel 8libzip-devel open
rhel 8libzip-tools open
rhel 8php fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-bcmath open
rhel 8php-cli open
rhel 8php-common fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-dba open
rhel 8php-dbg fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-devel fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-embedded open
rhel 8php-enchant open
rhel 8php-fpm fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-gd open
rhel 8php-gmp fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-intl fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-json fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-ldap fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-mbstring fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-mysqlnd open
rhel 8php-odbc fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-opcache open
rhel 8php-pdo open
rhel 8php-pear fixed in 1:1.10.9-1.module+el8.1.0+3189+a1bff096
rhel 8php-pecl-apcu fixed in 0:5.1.17-1.module+el8.1.0+3189+a1bff096
rhel 8php-pecl-apcu-devel fixed in 0:5.1.17-1.module+el8.1.0+3189+a1bff096
rhel 8php-pecl-rrd open
rhel 8php-pecl-xdebug open
rhel 8php-pecl-zip open
rhel 8php-pgsql open
rhel 8php-process open
rhel 8php-recode fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-snmp fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-soap open
rhel 8php-xml fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdef
rhel 8php-xmlrpc open
suse sle15apache2-mod_php7 fixed in 0:7.2.34-150000.4.103.1
suse sle15libtidy-devel fixed in 0:5.4.0-3.2.1
suse sle15libtidy5 fixed in 0:5.4.0-3.2.1
suse sle15php7 fixed in 0:7.2.34-150000.4.103.1
suse sle15php7-bcmath fixed in 0:7.2.34-150000.4.103.1
suse sle15php7-bz2 fixed in 0:7.2.34-150000.4.103.1

Vendor Advisories

11
suse-csafrhsa-2020_3662
rhsaRHSA-2020:3662Moderate
rhsaRHSA-2020:5275Moderate
cisa-csafcisa-csaf-csaf_files-OT-white-2026-icsa-26-027-02
🔗

References & Sources

7
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.