BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-7066 in Debian Linux and 3 more products

Medium 4.3

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 possi...

Affects 4 products from 4 vendors. Facts below cite their sources.

CVSS 3.14.3
EPSS2.5%
EPSS percentile85th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 8.0 9.0 10.0
Opensuse Leap 15.1
Php Php ≥ 7.2.0, < 7.2.29 ≥ 7.3.0, < 7.3.16 ≥ 7.4.0, < 7.4.4
Tenable Tenable.Sc 5.19.0 < 5.19.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-7066
BreachSpider IDBS-2020-GLOBAL-211467-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Published2020-04-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-170: CWE-170

Analysis AI-written, not human-reviewed

A vulnerability 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 allows for URL truncation when using the get_headers() function with user-supplied URLs containing a zero (\0) character. This can lead to incorrect assumptions about the target server, potentially causing information to be sent to unintended destinations.

The attack vector involves crafting a URL with a zero (\0) character that is passed to the get_headers() function. The function truncates the URL at the zero character, which can lead to the application making incorrect assumptions about the server to which it is sending requests.

Questions

What is CVE-2020-7066?

A vulnerability 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 allows for URL truncation when using the get_headers() function with user-supplied URLs containing a zero (\0) character. This can lead to incorrect assumptions about the target server, potentially causing information to be sent to unintended destinations.

What is the CVSS score for CVE-2020-7066?

CVE-2020-7066 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N. EPSS: 2.5%.

Is CVE-2020-7066 actively exploited?

No confirmed active exploitation of CVE-2020-7066 as of 2026-09-25.

How do I remediate CVE-2020-7066?

Priority: MEDIUM. Advisory: https://bugs.php.net/bug.php?id=79329 PSIRT: [email protected]

What systems are affected by CVE-2020-7066?

CVE-2020-7066 affects Debian Debian Linux; Opensuse Leap; Php Php; Tenable Tenable.Sc.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.