Theopolis uefi-firmware-parser
UEFI Firmware Parser: Stack out-of-bounds write in tiano decompressor MakeTable
UEFI Firmware Parser parses BIOS, Intel ME, and UEFI firmware structures including volumes, file systems, and files. Prior to 1.14, MakeTable() in uefi_firmware/compression/Tiano/Decompress.c does not validate that bit-length values read from a crafted Tiano or EFI compressed firmware bitstream remain within the expected range from 0 through 16. The normal CompressedSection.process() to efi_compressor.TianoDecompress() to TianoDecompress() to ReadPTLen() to MakeTable() parsing path can consequently write beyond the stack-allocated Count[17] array and related decode tables. The resulting stack corruption deterministically crashes the parsing process and may permit code execution depending on build and runtime details. This issue is fixed in version 1.14.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.14
Fixed in 1.14
Mitigation
Upgrade uefi-firmware-parser to 1.14 or later.
References
- Vendor advisory github.com/theopolis/uefi-firmware-parser/secu…
- Patch github.com/theopolis/uefi-firmware-parser/pull…
- Patch github.com/theopolis/uefi-firmware-parser/comm…
1 more
- Release notes github.com/theopolis/uefi-firmware-parser/rele…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.