CVE-2022-31628
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0 Severity and Vector Strings:
NVD assessment
not yet provided.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
NIST
CWE-674
Uncontrolled Recursion
PHP Group
Change History
15 change records found show changes
CVE Modified by CISA-ADP
6/17/2026 12:45:50 AM
Action
Type
Old Value
New Value
Added
SSVC
{"timestamp":"2025-05-20T20:24:46.199350Z","id":"CVE-2022-31628","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}
CVE Modified by PHP Group
6/17/2026 12:45:50 AM
Action
Type
Old Value
New Value
Added
Affected
[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.4.X","lessThan":"7.4.31","versionType":"custom","status":"affected"},{"version":"8.0.X","lessThan":"8.0.24","versionType":"custom","status":"affected"},{"version":"8.1.X","lessThan":"8.1.11","versionType":"custom","status":"affected"}]}]
CVE Modified by CVE
11/21/2024 2:04:53 AM
Action
Type
Old Value
New Value
Added
Reference
https://bugs.php.net/bug.php?id=81726
Added
Reference
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
Added
Reference
https://security.gentoo.org/glsa/202211-03
Added
Reference
https://security.netapp.com/advisory/ntap-20221209-0001/
Added
Reference
https://www.debian.org/security/2022/dsa-5277
CVE Modified by PHP Group
5/14/2024 6:40:25 AM
Action
Type
Old Value
New Value
CVE Modified by PHP Group
11/06/2023 10:47:40 PM
Action
Type
Old Value
New Value
Added
Reference
PHP Group https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/ [No types assigned]
Added
Reference
PHP Group https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/ [No types assigned]
Added
Reference
PHP Group https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/ [No types assigned]
Removed
Reference
PHP Group https://lists.fedoraproject.org/archives/list/[email protected] /message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
Removed
Reference
PHP Group https://lists.fedoraproject.org/archives/list/[email protected] /message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
Removed
Reference
PHP Group https://lists.fedoraproject.org/archives/list/[email protected] /message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
Reanalysis by NIST
7/21/2023 3:26:04 PM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-835
Removed
CWE
NIST CWE-674
Modified Analysis by NIST
1/12/2023 2:52:47 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/ Mailing List, Third Party Advisory
Changed
Reference Type
https://security.gentoo.org/glsa/202211-03 No Types Assigned
https://security.gentoo.org/glsa/202211-03 Third Party Advisory
Changed
Reference Type
https://security.netapp.com/advisory/ntap-20221209-0001/ No Types Assigned
https://security.netapp.com/advisory/ntap-20221209-0001/ Third Party Advisory
Changed
Reference Type
https://www.debian.org/security/2022/dsa-5277 No Types Assigned
https://www.debian.org/security/2022/dsa-5277 Third Party Advisory
CVE Modified by PHP Group
12/15/2022 4:15:12 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html [No Types Assigned]
CVE Modified by PHP Group
12/09/2022 2:15:12 PM
Action
Type
Old Value
New Value
Added
Reference
https://security.netapp.com/advisory/ntap-20221209-0001/ [No Types Assigned]
CVE Modified by PHP Group
11/22/2022 1:15:47 AM
Action
Type
Old Value
New Value
Added
Reference
https://security.gentoo.org/glsa/202211-03 [No Types Assigned]
CVE Modified by PHP Group
11/14/2022 10:15:21 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/ [No Types Assigned]
Added
Reference
https://www.debian.org/security/2022/dsa-5277 [No Types Assigned]
Modified Analysis by NIST
11/07/2022 1:41:54 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/ Mailing List, Third Party Advisory
CVE Modified by PHP Group
10/07/2022 11:15:13 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/ [No Types Assigned]
CVE Modified by PHP Group
10/06/2022 4:15:22 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/ [No Types Assigned]
Initial Analysis by NIST
9/30/2022 1:45:24 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Added
CWE
NIST CWE-674
Added
CPE Configuration
OR
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (excluding) 7.4.31
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.0.24
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.11
Changed
Reference Type
https://bugs.php.net/bug.php?id=81726 No Types Assigned
https://bugs.php.net/bug.php?id=81726 Permissions Required, Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2022-31628 NVD
Published Date: 09/28/2022 NVD
Last Modified: 06/17/2026
Source: PHP Group