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.
Published: 2020-04-01
Score: 5.3 Medium
EPSS: 1.5% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2188-1 php5 security update
Debian DSA Debian DSA DSA-4717-1 php7.0 security update
Debian DSA Debian DSA DSA-4719-1 php7.3 security update
EUVD EUVD EUVD-2020-28200 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.
Ubuntu USN Ubuntu USN USN-4330-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-4330-2 PHP vulnerabilities
History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02784}

epss

{'score': 0.0137}


Subscriptions

Debian Debian Linux
Opensuse Leap
Php Php
Redhat Enterprise Linux Rhel Software Collections
Tenable Tenable.sc
cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2024-09-17T01:51:01.194Z

Reserved: 2020-01-15T00:00:00.000Z

Link: CVE-2020-7066

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-04-01T04:15:14.020

Modified: 2024-11-21T05:36:36.360

Link: CVE-2020-7066

cve-icon Redhat

Severity : Low

Publid Date: 2020-04-01T00:00:00Z

Links: CVE-2020-7066 - Bugzilla

cve-icon OpenCVE Enrichment

No data.