CVE-2022-31628 - CVE House
Back to Database
Status published Low CVE-2022-31628

phar wrapper can occur dos when using quine gzip file

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31628

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • reported by ohseungju5 at gmail dot com

Affected Vendor

Affected Software

PHP
Vulnerable Versions:
7.4.X, 8.0.X, 8.1.X

Timeline

Official Publish: September 28th, 2022
Last Modified: May 20th, 2025
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.