Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M
CVE-2026-54334UEFI Firmware Parser: Heap out-of-bounds write in tiano decompressor `ReadCLen`
Critical 9.8
In plain English
A critical-severity out-of-bounds write in uefi-firmware-parser from theopolis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | uefi-firmware | no fix listed | GHSA-hm2w-vr2p-hq7w |
| PyPI | uefi-firmware | no fix listed | PYSEC-2026-3394 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| theopolis | uefi-firmware-parser | < 1.14 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/theopolis/uefi-firmware-parser/security/advisories/GHSA-hm2w-vr2p-hq7w x_refsource_CONFIRM
- https://github.com/theopolis/uefi-firmware-parser/pull/145 x_refsource_MISC
- https://github.com/theopolis/uefi-firmware-parser/commit/bf3dfaa8a05675bae6ea0cbfa082ddcebfcde23e x_refsource_MISC
- https://github.com/theopolis/uefi-firmware-parser/releases/tag/v1.14 x_refsource_MISC