CVE-2022-31628 LOW

CVE-2022-31628: phar wrapper can occur dos when using quine gzip file

Vendor Php Group
Product PHP
Weakness CWE-674
Published September 28, 2022
Last update May 20, 2025

CVSS base score

2.3/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 28, 2022 CVE published
May 20, 2025 Record updated