Vulnerability database / CVE-2022-31628
CVE-2022-31628
MEDIUM 5.5 CVSS 3.1 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.
Published 28 Sep 2022
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-674 CWE-835 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD
security@php.net (Secondary)
CVSS 3.1
LOW 2.3
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
< 7.4.31
7.4.31 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.0.24
8.0.24 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.1.0, < 8.1.11
8.1.11 NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
References
History
25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Sep 2022)