CVE-2022-31628

phar wrapper can occur dos when using quine gzip file

State
Published
Severity
2.3 Low
Published
Sep 28, 2022
Updated
May 20, 2025
Reserved
May 25, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.3 LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:Lphp

Weaknesses

Affected Products

ProductVersions
PHPPHP Group
  • 7.4.X to before 7.4.31Affected
  • 8.0.X to before 8.0.24Affected
  • 8.1.X to before 8.1.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.