CVE-2026-48111: CWE-125: Out-of-bounds Read in mcmilk 7-Zip
7-Zip is a file archiver with a high compression ratio. Versions 9.21 through 26.00 contain an off-by-one out-of-bounds read vulnerability in the ParseDepedencyExpression function of the UEFI firmware image parser(CPP/7zip/Archive/UefiHandler.cpp). The function validates an attacker-controlled opcode byte using > instead of >= against the element count of the 10-entry kExpressionCommands static array, allowing an opcode value of 10 to read one pointer slot (8 bytes on x64) past the end of the array in .rodata. The out-of-bounds value is then dereferenced as a const char * and passed through strlen and memcpy into the archive's Characts property, which may cause either a denial of service (access violation when the adjacent bytes do not form a valid readable pointer) or a minor information disclosure of an adjacent .rdata string literal into archive metadata. The vulnerability is reached automatically during IInArchive::Open() via the call path OpenFv/OpenCapsule → ParseVolume → ParseSections when processing a SECTION_DXE_DEPEX (0x13) or SECTION_PEI_DEPEX (0x1B) section whose first body byte is 0x0A, and the UEFI handler is enabled by default in stock 7z.dll with signature-based detection for both UEFIc and UEFIf formats. The outcome (crash vs. silent leak) is deterministic per build but linker-layout dependent, with no write primitive and no disclosure of heap data, secrets, or ASLR base addresses. Version 26.01 fixes the issue.
AI Analysis
Technical Summary
CVE-2026-48111 is an off-by-one out-of-bounds read vulnerability in the ParseDepedencyExpression function within the UEFI firmware image parser of 7-Zip. The function incorrectly validates an opcode byte using a > comparison instead of >= against the element count of a 10-entry static array, allowing an opcode value of 10 to read 8 bytes beyond the array boundary. This out-of-bounds pointer is dereferenced and passed through strlen and memcpy into archive metadata, which may cause either a crash (denial of service) or minor leakage of adjacent string literals. The vulnerability is triggered automatically during archive opening when processing specific UEFI sections with a first byte of 0x0A. The vulnerability does not allow writing or disclosure of heap data, secrets, or ASLR base addresses. It is fixed in 7-Zip version 26.01.
Potential Impact
The vulnerability can cause a denial of service via access violation or a minor information disclosure of adjacent read-only data in the archive metadata. There is no write primitive or exposure of sensitive heap data or memory layout information. The impact is limited to application crash or minor leakage of static string literals.
Mitigation Recommendations
Upgrade to 7-Zip version 26.01 or later, where this vulnerability is fixed. No other official remediation or temporary fix is documented. Users should apply the update to prevent potential denial of service or information disclosure.
CVE-2026-48111: CWE-125: Out-of-bounds Read in mcmilk 7-Zip
Description
7-Zip is a file archiver with a high compression ratio. Versions 9.21 through 26.00 contain an off-by-one out-of-bounds read vulnerability in the ParseDepedencyExpression function of the UEFI firmware image parser(CPP/7zip/Archive/UefiHandler.cpp). The function validates an attacker-controlled opcode byte using > instead of >= against the element count of the 10-entry kExpressionCommands static array, allowing an opcode value of 10 to read one pointer slot (8 bytes on x64) past the end of the array in .rodata. The out-of-bounds value is then dereferenced as a const char * and passed through strlen and memcpy into the archive's Characts property, which may cause either a denial of service (access violation when the adjacent bytes do not form a valid readable pointer) or a minor information disclosure of an adjacent .rdata string literal into archive metadata. The vulnerability is reached automatically during IInArchive::Open() via the call path OpenFv/OpenCapsule → ParseVolume → ParseSections when processing a SECTION_DXE_DEPEX (0x13) or SECTION_PEI_DEPEX (0x1B) section whose first body byte is 0x0A, and the UEFI handler is enabled by default in stock 7z.dll with signature-based detection for both UEFIc and UEFIf formats. The outcome (crash vs. silent leak) is deterministic per build but linker-layout dependent, with no write primitive and no disclosure of heap data, secrets, or ASLR base addresses. Version 26.01 fixes the issue.
CVSS v3.1
Score 4.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48111 is an off-by-one out-of-bounds read vulnerability in the ParseDepedencyExpression function within the UEFI firmware image parser of 7-Zip. The function incorrectly validates an opcode byte using a > comparison instead of >= against the element count of a 10-entry static array, allowing an opcode value of 10 to read 8 bytes beyond the array boundary. This out-of-bounds pointer is dereferenced and passed through strlen and memcpy into archive metadata, which may cause either a crash (denial of service) or minor leakage of adjacent string literals. The vulnerability is triggered automatically during archive opening when processing specific UEFI sections with a first byte of 0x0A. The vulnerability does not allow writing or disclosure of heap data, secrets, or ASLR base addresses. It is fixed in 7-Zip version 26.01.
Potential Impact
The vulnerability can cause a denial of service via access violation or a minor information disclosure of adjacent read-only data in the archive metadata. There is no write primitive or exposure of sensitive heap data or memory layout information. The impact is limited to application crash or minor leakage of static string literals.
Mitigation Recommendations
Upgrade to 7-Zip version 26.01 or later, where this vulnerability is fixed. No other official remediation or temporary fix is documented. Users should apply the update to prevent potential denial of service or information disclosure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-20T18:46:58.288Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a22fdf3e29bf47b50937329
Added to database: 06/05/2026, 16:48:51 UTC
Last enriched: 06/13/2026, 09:44:53 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.