CVE-2020-7066Php
Medium 4.3 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 4.3
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Apr 1, 2020
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-170
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 7.2.0 < 7.2.29 |
| php | php | ≥ 7.3.0 < 7.3.16 |
| php | php | ≥ 7.4.0 < 7.4.4 |
| tenable | tenable.sc | < 5.19.0 |
| tenable | tenable.sc | 5.19.0 |
| opensuse | leap | 15.1 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official advisories
- Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update · Red Hat · RHSA-2020:3662 · Nov 25, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- bugs.php.net Exploit Issue Tracking Patch
- lists.debian.org Third Party Advisory
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.tenable.com Patch Third Party Advisory