CVE-2022-31628
php: phar: infinite loop when decompressing quine gzip file
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 29, 2022
Updated · November 22, 2025
Description
A vulnerability was found in PHP due to an infinite loop within the phar uncompressor code when processing "quines" gzip files. This vulnerability allows a remote attacker to pass a specially crafted archive to the application, and consume all available system resources, causing a denial of service condition.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-674 · Uncontrolled Recursion