p PatchFirst

CVE-2026-54334

CVE-2026-54334 · UEFI Firmware Parser: Heap out-of-bounds write in tiano decompressor `ReadCLen`

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

UEFI Firmware Parser parses BIOS, Intel ME, and UEFI firmware structures including volumes, file systems, and files. Prior to 1.14, ReadCLen() in uefi_firmware/compression/Tiano/Decompress.c reads Number from GetBits(Sd, CBIT) with CBIT = 9 and can obtain 511 entries for the 510-element Sd->mCLen heap array because its loop does not enforce Index < NC. The CharC == 2 run-length path can additionally request up to 531 zero writes through Sd->mCLen[Index++] = 0. The normal CompressedSection.process() to efi_compressor.TianoDecompress() to TianoDecompress() to DecodeC() to ReadCLen() parsing path therefore permits crafted Tiano or EFI compressed firmware to corrupt heap memory, deterministically crash the parsing process, and potentially execute code depending on build and runtime details. This issue is fixed in version 1.14.

CVSS 9.8 · Critical · EPSS 0.8%

Published
Updated

Stack: python

Affected products and versions

  • uefi-firmware-parser

    Versions
    • < 1.14: Affected

    No fix published

  • uefi-firmware PyPI

    Versions
    • 1.1
    • 1.10
    • 1.11
    • 1.2
    • 1.3
    • 1.4
    • 1.6
    • 1.7
    • 1.8
    • 1.9
    Affected ranges
    • ECOSYSTEM: ≤ 1.12

    No fix published

Original sources

Check your server →