Live threats

All CVEs / Php

CVE-2020-7066Php

Medium 4.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.2.0 < 7.2.29
phpphp≥ 7.3.0 < 7.3.16
phpphp≥ 7.4.0 < 7.4.4
tenabletenable.sc< 5.19.0
tenabletenable.sc5.19.0
opensuseleap15.1
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.