Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft firmware with malformed Tiano-compressed section
-
DeliverySubmit to analysis pipeline or analyst
-
ExploitDecompressor reads bit-length >16 in MakeTable
-
ExecutionOut-of-bounds write past Count[17] on stack
-
ImpactCrash parser or hijack execution in its context
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the target to parse an attacker-supplied firmware blob that contains a crafted Tiano- or EFI-compressed section reaching the CompressedSection.process() → efi_compressor.TianoDecompress() → ReadPTLen() → MakeTable() path with a Huffman bit-length value greater than 16. Limiting factors: the victim must actually run uefi-firmware-parser (< 1.14) on the malicious input, so exploitation is gated on the tool ingesting untrusted firmware (e.g., an analysis pipeline or manual analyst run); the reliably achieved outcome is a deterministic crash, while code execution is not confirmed and depends on build/runtime memory protections. No product configuration flag is needed - the vulnerable decompression path is the default handling for compressed sections. |
| Impact | The input CVSS 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) overstates real-world risk for a firmware-analysis library. This is a file/stream parser: exploitation requires the victim to run the tool against attacker-supplied firmware, which is closer to AV:L with user interaction than an unauthenticated network service, unless the parser is wrapped in a network-facing upload/scan pipeline (plausible for automated firmware analysis backends, which is likely why AV:N was chosen). The confirmed, deterministic impact is a crash (availability); code execution is explicitly qualified as 'may permit... depending on build and runtime details,' so C:H/I:H are speculative rather than demonstrated. No EPSS, KEV, or SSVC data was provided; there is no KEV listing and no POC referenced, so status is 'no public exploit identified at time of analysis.' Net: a real memory-safety bug worth patching, but for most users the practical risk is a reliable DoS on the analysis host, not mass exploitation. |
| Exploit ScenarioDerived | An attacker submits a specially crafted firmware image (or embeds a malformed Tiano/EFI compressed section in an otherwise valid image) to an automated firmware-analysis service or an analyst using uefi-firmware-parser. When CompressedSection.process() decompresses it, MakeTable() writes past Count[17] on the stack, at minimum crashing the analysis worker; on a build without stack protections, the corruption could be steered toward code execution in the parser's context. No authentication or exploit code is required to trigger the crash, only that the target chooses to parse the blob. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 15, 2026
Stack out-of-bounds write in the theopolis uefi-firmware-parser Python library (versions prior to 1.14) lets a maliciously crafted Tiano/EFI-compressed firmware blob corrupt the parser's stack when it is decompressed. The bundled native Tiano decompressor's MakeTable() fails to validate Huffman bit-length values, so bit lengths above 16 overflow the stack-allocated Count[17] array and adjacent decode tables, deterministically crashing the parsing process and potentially allowing code execution in that process depending on build hardening. No public exploit identified at time of analysis; the issue was fixed in 1.14 by porting the upstream EDK2 hardening.
RemediationAI
Upgrade to uefi-firmware-parser 1.14 or later (Vendor-released patch: 1.14), which replaces the forked decompressor with the hardened upstream EDK2 implementation carrying the CVE-2017-5731..5735 fixes; the fix is in commit bf3dfaa8a05675bae6ea0cbfa082ddcebfcde23e via PR https://github.com/theopolis/uefi-firmware-parser/pull/145. Until you can upgrade, avoid running the parser on untrusted firmware images, or sandbox/isolate parsing in a low-privilege, resource-limited container or subprocess so a crash or memory corruption cannot affect the host or other jobs; if you only need higher-level structure, disable or skip decompression of Tiano/EFI compressed sections. Trade-offs: skipping compressed sections reduces coverage of firmware contents, and sandboxing adds operational overhead but is the most reliable containment if patching is delayed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
uefi-firmware-parser is a Python toolkit for dissecting BIOS/Intel ME/UEFI firmware images (volumes, filesystems, files) that ships its own C implementation of the EFI/Tiano LZ-style decompressor in uefi_firmware/compression/Tiano/Decompress.c, exposed via the efi_compressor extension. The root cause is CWE-787 (out-of-bounds write): MakeTable(), invoked from the ReadPTLen() Huffman-table setup during TianoDecompress(), reads code-length values from the attacker-controlled bitstream and uses them to index/populate fixed-size stack tables (notably Count[17]) without bounding them to the valid 0..16 range. Because the project forked the decompressor from an old Intel EDK2 BaseTools snapshot, it never received the upstream EDK2 fixes for this exact bug class (CVE-2017-5731 through CVE-2017-5735), which is why the fix in PR #145 re-syncs the decompressor to the hardened upstream implementation. The only affected product per CPE is cpe:2.3:a:theopolis:uefi-firmware-parser.
Know when Uefi Firmware Parser gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Parser must ingest an attacker-supplied file (AV:L/UI:R); crash is deterministic (A:H) while code execution is unconfirmed, so C/I set to L rather than H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-787 out-of-bounds write in MakeTable() in uefifirmware/compression/Tiano/Decompress.c.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The theopolis UEFI firmware-parser library (pre-1.14) contains a critical stack buffer overflow triggered by malicious firmware files, causing parser crashes and potentially enabling code execution within the parser process. Organizations using this library for firmware security analysis, device validation, or supply-chain verification face disruption of firmware integrity checks and potential compromise of analysis systems. Immediate upgrade to version 1.14 is required to restore the security of firmware analysis operations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-78064
GHSA-2689-5p89-6j3j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB