CVE-2022-31628 Details
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.
A denial-of-service vulnerability has been identified in PHP versions prior to 7.4.31, 8.0.24, and 8.1.11. The issue arises in the phar uncompressor code, which recursively uncompresses 'quine' gzip files, leading to an infinite loop. This vulnerability affects the phar stream wrapper and the PharData class, which can be used to handle .tgz files.
Users can upgrade to PHP versions 7.4.33, 8.0.25, or 8.1.12 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | < 7.4.31 >= 8.0.0, < 8.0.24 >= 8.1.0, < 8.1.11 |
CPE
Remediation
| |
| fedoraproject fedora | 35 36 37 |
CPE
Remediation
| |
| debian debian linux | 10.0 11.0 |
CPE
Remediation
| |
Change History
15 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Jul 21, 2023 | Reanalysis | [email protected] |
| Jan 12, 2023 | Modified Analysis | [email protected] |
| Dec 15, 2022 | CVE Modified | [email protected] |
| Dec 9, 2022 | CVE Modified | [email protected] |
| Nov 22, 2022 | CVE Modified | [email protected] |
| Nov 14, 2022 | CVE Modified | [email protected] |
| Nov 7, 2022 | Modified Analysis | [email protected] |
| Oct 7, 2022 | CVE Modified | [email protected] |
| Oct 6, 2022 | CVE Modified | [email protected] |
| Sep 30, 2022 | Initial Analysis | [email protected] |