UEFI Firmware Parser: Stack out-of-bounds write in tiano decompressor MakeTable (theopolis uefi-firmware-parser)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.80 % Β· percentile 57 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
Description
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.
Weaknesses (CWE)
- CWE-787 β Out-of-bounds Write
References
- https://github.com/theopolis/uefi-firmware-parser/security/advisories/GHSA-2689-5p89-6j3j
- https://github.com/theopolis/uefi-firmware-parser/pull/145
- https://github.com/theopolis/uefi-firmware-parser/commit/bf3dfaa8a05675bae6ea0cbfa082ddcebfcde23e
- https://github.com/theopolis/uefi-firmware-parser/releases/tag/v1.14
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-2689-5p89-6j3j β UEFI Firmware Parser has a stack out-of-bounds write in tiano decompressor MakeTable
- PYSEC-2026-3393 β UEFI Firmware Parser has a stack out-of-bounds write in tiano decompressor MakeTable
European references
- ENISA EUVD Β· EUVD-2026-78064
- GCVE Β· GCVE-0-2026-54333
Affected products
| Product | Versions |
|---|---|
| theopolis Β· uefi-firmware-parser | affected < 1.14 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |