Skip to content

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

CriticalCVSS 9.8 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi uefi-firmware(PyPI) <= 1.12; = 1.1; = 1.2; = 1.3 +7 more after 1.12 Fixed
theopolis uefi-firmware-parser = < 1.14 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi uefi-firmware(PyPI) <= 1.12 No fix listed
pypi uefi-firmware(PyPI) = 1.1 No fix listed
pypi uefi-firmware(PyPI) = 1.10 No fix listed
pypi uefi-firmware(PyPI) = 1.11 No fix listed
pypi uefi-firmware(PyPI) = 1.2 No fix listed
pypi uefi-firmware(PyPI) = 1.3 No fix listed
pypi uefi-firmware(PyPI) = 1.4 No fix listed
pypi uefi-firmware(PyPI) = 1.6 No fix listed
pypi uefi-firmware(PyPI) = 1.7 No fix listed
pypi uefi-firmware(PyPI) = 1.8 No fix listed
pypi uefi-firmware(PyPI) = 1.9 No fix listed
theopolis uefi-firmware-parser = < 1.14 No fix listed

References