p PatchFirst

CVE-2026-48111

CVE-2026-48111 · GHSL-2026-121 7-Zip UEFI DEPEX OOB Read

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 4.3 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • 7-zip

    Versions
    • >= 9.18, < 26.01: Affected

    No fix published

  • 7zip Debian:12

    Versions
    • 22.01+dfsg-10~exp1
    • 22.01+dfsg-8
    • 22.01+dfsg-8+deb12u1
    • 22.01+dfsg-9
    • 22.01+really25.01+dfsg-0+deb12u1
    Affected ranges
    • ECOSYSTEM: < 22.01+really26.01+dfsg-0+deb12u1

    Update to 22.01+really26.01+dfsg-0+deb12u1

  • 7zip Debian:13

    Versions
    • 24.09+dfsg-8
    • 25.00+dfsg-1
    • 25.01+dfsg-1
    • 25.01+dfsg-1~deb13u1
    • 25.01+dfsg-1~deb13u1~bpo12+1
    • 25.01+dfsg-1~deb13u2
    • 25.01+dfsg-2
    • 25.01+dfsg-3
    • 25.01+dfsg-4
    • 25.01+dfsg-5
    • 26.00+dfsg-1
    • 26.00+dfsg-2
    • 26.00+dfsg-3
    • 26.00+dfsg-4
    • 26.00+dfsg-5
    • 26.00+dfsg1-1
    • 26.00+dfsg1-2
    • 26.00+dfsg1-3
    • 26.01+dfsg-1
    • 26.01+dfsg-2
    • 26.01+dfsg-3
    • 26.02+dfsg-1
    • 26.02+dfsg-2
    • 26.02+dfsg-3
    • 26.03+dfsg-1
    • 26.03+dfsg-2
    • 26.03+dfsg-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 7zip Debian:14

    Versions
    • 24.09+dfsg-8
    • 25.00+dfsg-1
    • 25.01+dfsg-1
    • 25.01+dfsg-1~deb13u1
    • 25.01+dfsg-1~deb13u1~bpo12+1
    • 25.01+dfsg-1~deb13u2
    • 25.01+dfsg-2
    • 25.01+dfsg-3
    • 25.01+dfsg-4
    • 25.01+dfsg-5
    • 26.00+dfsg-1
    • 26.00+dfsg-2
    • 26.00+dfsg-3
    • 26.00+dfsg-4
    • 26.00+dfsg-5
    • 26.00+dfsg1-1
    • 26.00+dfsg1-2
    • 26.00+dfsg1-3
    Affected ranges
    • ECOSYSTEM: < 26.01+dfsg-1

    Update to 26.01+dfsg-1

  • p7zip Debian:12

    Versions
    • 16.02+dfsg-8
    • 16.02+really25.01+dfsg-0+deb12u1
    Affected ranges
    • ECOSYSTEM: < 16.02+really26.01+dfsg-0+deb12u1

    Update to 16.02+really26.01+dfsg-0+deb12u1

  • p7zip Debian:13

    Affected ranges
    • ECOSYSTEM: < 16.02+transitional.1

    Update to 16.02+transitional.1

  • p7zip Ubuntu:14.04:LTS

    Versions
    • 9.20.1~dfsg.1-4
    • 9.20.1~dfsg.1-4+deb7u1build0.14.04.1
    • 9.20.1~dfsg.1-4+deb7u2build0.14.04.1
    • 9.20.1~dfsg.1-4+deb7u3build0.14.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • p7zip Ubuntu:16.04:LTS

    Versions
    • 9.20.1~dfsg.1-4.2
    • 9.20.1~dfsg.1-4.2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • p7zip Ubuntu:18.04:LTS

    Versions
    • 16.02+dfsg-4
    • 16.02+dfsg-5
    • 16.02+dfsg-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • p7zip Ubuntu:20.04:LTS

    Versions
    • 16.02+dfsg-7
    • 16.02+dfsg-7build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • p7zip Ubuntu:22.04:LTS

    Versions
    • 16.02+dfsg-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 7zip Ubuntu:Pro:22.04:LTS

    Versions
    • 21.03~beta+dfsg-6
    • 21.04~beta+dfsg-1
    • 21.06+dfsg-1
    • 21.07+dfsg-1
    • 21.07+dfsg-2
    • 21.07+dfsg-3
    • 21.07+dfsg-4
    • 21.07+dfsg-4ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 7zip Ubuntu:Pro:24.04:LTS

    Versions
    • 23.01+dfsg-3
    • 23.01+dfsg-7
    • 23.01+dfsg-8
    • 23.01+dfsg-11
    • 23.01+dfsg-11ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 7zip Ubuntu:25.10

    Versions
    • 24.09+dfsg-7
    • 24.09+dfsg-8
    • 25.00+dfsg-1
    • 25.01+dfsg-1
    • 25.01+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 7zip Ubuntu:26.10

    Versions
    • 26.00+dfsg-1
    • 26.01+dfsg-2
    • 26.01+dfsg-3
    • 26.02+dfsg-1
    • 26.02+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 7zip Ubuntu:26.04:LTS

    Versions
    • 25.01+dfsg-2
    • 25.01+dfsg-3
    • 25.01+dfsg-4
    • 25.01+dfsg-5
    • 26.00+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →