CVE-2022-47111
7-Zip vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related 7-Zip vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53817MEDIUM5.5
  • 7-Zip7-Zip
  • cpe:2.3:a:7-zip:7-zip
NoYesJul 17, 2025
CVE-2025-53816MEDIUM5.5
  • 7-Zip7-Zip
  • p7zip-rar
NoYesJul 17, 2025
CVE-2025-55188LOW3.6
  • 7-Zip7-Zip
  • 7zip
NoYesAug 08, 2025
CVE-2022-47112LOW3.3
  • 7-Zip7-Zip
  • 7zip
NoYesApr 19, 2025
CVE-2022-47111LOW3.3
  • 7-Zip7-Zip
  • 7zip
NoYesApr 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management