Back
CVE-2022-31628phar wrapper can occur dos when using quine gzip file
- 2.3LowCVSS base score
- 0.63%Exploitation in 30 daysEPSS · top 49% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By php
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| phpCNA (assigner) | 3.1 | Low2.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.63% · top 49% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.3.
Affected products
What to do
Solution: Upgrade to PHP 7.4.31, 8.0.24, or 8.1.11.
References
References8
- https://bugs.php.net/bug.php?id=81726 (opens in a new tab)x_transferred
- FEDORA-2022-0b77fbd9e7 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-afdea1c747 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-f204e1d0ed (opens in a new tab)vendor-advisoryx_transferred
- DSA-5277 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202211-03 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20221209-0001/ (opens in a new tab)x_transferred
- [debian-lts-announce] 20221215 [SECURITY] [DLA 3243-1] php7.3 security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-53080 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-31628)Record last updated .