ADVISORIES

Vulnerability

CVE-2022-31628

In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

38 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2023-2023-081

    Amazon Linux 2023 - ALAS2023-2023-081: Important priority package update for php8.1

    Important CVE-2022-31627CVE-2022-31628CVE-2022-31629CVE-2022-31630 Amazon Linux Updated 22 February 2023
  • ALPINE-CVE-2022-31628

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

    CVE-2022-31628 Alpine Updated 20 November 2026
  • ALSA-2023:0848

    Moderate: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 AlmaLinux Updated 5 November 2026
  • ALSA-2023:0965

    Moderate: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2417

    Moderate: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2903

    Moderate: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 AlmaLinux Updated 5 November 2026
  • CNA-CVE-2022-31628

    phar wrapper can occur dos when using quine gzip file

    CVE-2022-31628 PHP Updated 20 May 2025
  • DEBIAN-CVE-2022-31628

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

    CVE-2022-31628 Debian Updated 24 November 2026
  • DLA-3243-1

    php7.3 - security update

    CVE-2021-21707CVE-2022-31625CVE-2022-31626CVE-2022-31628 Debian Updated 20 November 2026
  • DSA-5277-1

    php7.4 - security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-37454 Debian Updated 20 November 2026
  • ELSA-2023-0848

    ELSA-2023-0848: php:8.0 security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 22 February 2023
  • ELSA-2023-0965

    ELSA-2023-0965: php security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 28 February 2023
  • ELSA-2023-2417

    ELSA-2023-2417: 8.1 security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 15 May 2023
  • ELSA-2023-2903

    ELSA-2023-2903: php:7.4 security update (MODERATE)

    Moderate CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Oracle Linux Updated 24 May 2023
  • OESA-2023-1271

    php security update

    Medium CVE-2022-31628CVE-2022-31629 openEuler Updated 18 August 2026
  • OESA-2023-1272

    php security update

    Medium CVE-2022-31628CVE-2022-31629 openEuler Updated 18 August 2026
  • OESA-2023-1566

    php security update

    Medium CVE-2022-31628 openEuler Updated 18 August 2026
  • RHSA-2023:0848

    Red Hat Security Advisory: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:0965

    Red Hat Security Advisory: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:2417

    Red Hat Security Advisory: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:2903

    Red Hat Security Advisory: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2022-31628

    php: phar: infinite loop when decompressing quine gzip file

    Low CVE-2022-31628 Red Hat Updated 6 November 2026
  • RLSA-2023:0848

    Moderate: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 4 February 2026
  • RLSA-2023:0965

    Moderate: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 5 February 2026
  • RLSA-2023:2417

    Moderate: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 27 December 2025
  • RLSA-2023:2903

    Moderate: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 Rocky Linux Updated 27 December 2025
  • SUSE-SU-2022:3661-1

    Security update for php8

    CVE-2021-21703CVE-2022-31628CVE-2022-31629 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:3830-1

    Security update for php7

    CVE-2022-31628CVE-2022-31629 openSUSE Updated 4 February 2026
  • SUSE-SU-2022:3957-1

    Security update for php72

    CVE-2022-31628CVE-2022-31629 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3997-1

    Security update for php7

    CVE-2021-21707CVE-2021-21708CVE-2022-31625CVE-2022-31626 SUSEopenSUSE 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
  • SUSE-SU-2022:4068-1

    Security update for php74

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4069-1

    Security update for php7

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-31628

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

    CVE-2022-31628 Ubuntu Updated 21 October 2026
  • USN-5717-1

    php7.2, php7.4, php8.1 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-37454 Ubuntu Updated 27 April 2026
  • USN-5905-1

    php7.0 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31631CVE-2023-0568 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2024:12377-1

    php7-7.4.32-1.1 on GA media

    CVE-2022-31628 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12384-1

    php8-8.1.11-1.1 on GA media

    CVE-2022-31628 openSUSE Updated 4 February 2026

References