
Cloud Vulnerability DB
A community-led vulnerabilities database
7-Zip version 22.01 contains a vulnerability where it fails to report errors when processing certain invalid xz files, specifically involving block flags and reserved bits. The vulnerability was assigned CVE-2022-47111 and was published on April 19, 2025. According to the specification, the decoder must indicate an error when reserved bits are set, but 7-Zip fails to do so (GitHub Bugs).
The vulnerability has been assigned a CVSS 3.1 Base Score of 2.5 (LOW) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N. The issue is classified under CWE-754 (Improper Check for Unusual or Exceptional Conditions). The root cause is related to parsing Block Flags in xz files, where 7-Zip fails to properly validate and report errors when encountering invalid flag configurations (MITRE CVE, NVD).
The vulnerability could lead to unexpected behavior when processing compressed components. In scenarios where programs rely on 7-Zip to handle compressed components, the silent failure to report errors could result in critical tasks being affected later in the execution process. The impact is particularly concerning when the program assumes successful decompression based on 7-Zip's incorrect 'OK' response (GitHub Bugs).
The vulnerability affects 7-Zip version 22.01, and some later versions are reported to be unaffected. Users are advised to upgrade to a patched version of the software. For comparison, the xz utility correctly identifies and reports these errors through its lzmablockheader_decode function (Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."