Integrity-check bypass via accepted reserved block flags
Published Apr 19, 2025 · Updated Apr 21, 2025
Improper error handling in 7-Zip 22.01 allows local users to pass an invalid XZ archive as valid through crafted block flags. The XZ Block Flags parser accepts reserved bits that the file-format specification requires decoders to reject, then returns success without reporting the malformed archive. Exploitation requires a user or local workflow to process the crafted file, allowing corrupted input to bypass integrity checks without code execution or service interruption.
Summary
What happened
Improper error handling in 7-Zip 22.01 allows local users to pass an invalid XZ archive as valid through crafted block flags. The XZ Block Flags parser accepts reserved bits that the file-format specification requires decoders to reject, then returns success without reporting the malformed archive. Exploitation requires a user or local workflow to process the crafted file, allowing corrupted input to bypass integrity checks without code execution or service interruption.
The record
- CVE
- CVE-2022-47111
- Published
- Apr 19, 2025
- Updated
- Apr 21, 2025
- Vendor
- 7-Zip
- Product
- 7-Zip
- Classifications
- CWE-754
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 19, 2025CVE publishedPublication date reported by the CVE source.
- Apr 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=22.01
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- poc1.xz reserved Block Flags sampleproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo