ADVISORIES

Vulnerability

CVE-2020-7066

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.

21 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2020-7066

    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…

    CVE-2020-7066 Alpine Updated 3 November 2026
  • ALSA-2020:3662

    Moderate: php:7.3 security, bug fix, and enhancement update

    CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 AlmaLinux Updated 29 October 2026
  • CNA-CVE-2020-7066

    get_headers() silently truncates after a null byte

    CVE-2020-7066 PHP Updated 17 September 2024
  • DEBIAN-CVE-2020-7066

    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…

    CVE-2020-7066 Debian Updated 24 November 2026
  • DLA-2188-1

    php5 - security update

    CVE-2020-7064CVE-2020-7066CVE-2020-7067 Debian Updated 20 November 2026
  • DSA-4717-1

    php7.0 - security update

    CVE-2019-11048CVE-2020-7062CVE-2020-7063CVE-2020-7064 Debian Updated 20 November 2026
  • DSA-4719-1

    php7.3 - security update

    CVE-2019-11048CVE-2020-7062CVE-2020-7063CVE-2020-7064 Debian Updated 20 November 2026
  • ELSA-2020-3662

    ELSA-2020-3662: php:7.3 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 Oracle Linux Updated 9 September 2020
  • RHSA-2020:3662

    Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update

    CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 Red Hat Updated 24 November 2026
  • RHSA-2020:5275

    Red Hat Security Advisory: rh-php73-php security, bug fix, and enhancement update

    CVE-2019-11045CVE-2019-11047CVE-2019-11048CVE-2019-11050 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2020-7066

    php: Information disclosure in function get_headers

    Low CVE-2020-7066 Red Hat Updated 7 November 2026
  • RLSA-2020:3662

    Moderate: php:7.3 security, bug fix, and enhancement update

    CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2020:1199-1

    Security update for php7

    CVE-2020-7064CVE-2020-7066 SUSE Updated 4 February 2026
  • SUSE-SU-2020:1546-1

    Security update for php72

    CVE-2019-11048CVE-2020-7064CVE-2020-7066 SUSE Updated 4 February 2026
  • SUSE-SU-2020:1714-1

    Security update for php5

    CVE-2019-11048CVE-2020-7064CVE-2020-7066 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4067-1

    Security update for php7

    Known exploited CVE-2015-9253CVE-2017-8923CVE-2017-9120CVE-2018-1000222 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2020-7066

    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…

    Moderate CVE-2020-7066 SUSE Updated 2 November 2026
  • UBUNTU-CVE-2020-7066

    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…

    CVE-2020-7066 Ubuntu Updated 22 April 2026
  • USN-4330-1

    php5, php7.0, php7.2, php7.3 vulnerabilities

    CVE-2020-7062CVE-2020-7063CVE-2020-7064CVE-2020-7065 Ubuntu Updated 22 April 2026
  • USN-4330-2

    php7.4 vulnerabilities

    CVE-2020-7064CVE-2020-7065CVE-2020-7066 Ubuntu Updated 22 April 2026
  • openSUSE-SU-2020:0642-1

    Security update for php7

    CVE-2020-7064CVE-2020-7066 openSUSE Updated 4 February 2026

References