9.8 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
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.
References
-
https://github.com/theopolis/uefi-firmware-parser/pull/145 x_refsource_MISC
-
https://github.com/theopolis/uefi-firmware-parser/releases/tag/v1.14 x_refsource_MISC
Affected products
- ==< 1.14
Matching in nixpkgs
pkgs.uefi-firmware-parser
Tool for parsing, extracting, and recreating UEFI firmware volumes
pkgs.python313Packages.uefi-firmware-parser
None
-
nixos-26.05 -
- nixos-26.05-small 1.16
pkgs.python314Packages.uefi-firmware-parser
None
-
nixos-26.05 -
- nixos-26.05-small 1.16
Package maintainers
-
@elliotberman Elliot Berman