UEFI Firmware Parser has a stack out-of-bounds write in tiano decompressor MakeTable
Critical severity
GitHub Reviewed
Published
Apr 14, 2026
in
theopolis/uefi-firmware-parser
•
Updated Apr 16, 2026
Description
Published to the GitHub Advisory Database
Apr 16, 2026
Reviewed
Apr 16, 2026
Last updated
Apr 16, 2026
uefi-firmwarecontains a stack out-of-bounds write vulnerability in the native tiano/EFI decompressor. inuefi_firmware/compression/Tiano/Decompress.c,MakeTable()does not validate that bit-length values read from the compressed bitstream are within the expected range (0..16). a crafted firmware blob can supply bit lengths greater than16, causing out-of-bounds writes to the stack-allocatedCount[17]array and related decode tables.reachability is through the normal parsing path:
CompressedSection.process()->efi_compressor.TianoDecompress()->TianoDecompress()->ReadPTLen()->MakeTable().Minimum impact is a deterministic crash; depending on build/runtime details, the stack memory corruption may be exploitable for code execution in the context of the parsing process. this project shipped its own copy of the decompressor without the upstream EDK2 hardening for this bug class.
References:
References