Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted firmware image to analyst/pipeline
-
DeliveryParser reaches CompressedSection.process
-
ExploitGetBits(Sd,9) yields count > NC in ReadCLen
-
ExecutionOut-of-bounds writes into Sd->mCLen corrupt heap
-
ImpactDeterministic crash or potential code execution in parser 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 | Exploitation requires the victim to parse an attacker-supplied firmware image containing a maliciously crafted Tiano-compressed or EFI-compressed section, and requires the vulnerable code path to run - i.e., uefi-firmware-parser < 1.14 with its native efi_compressor/Tiano decompressor invoked via CompressedSection.process(). The specific trigger is a compressed section whose ReadCLen() bit stream yields Number > 510 (up to 511) or a CharC == 2 run-length of up to 531. Limiting factors: the parser must actually reach the compressed-section decompression path (a section must be present and processed), the attacker cannot exploit anything unless someone feeds the file to the tool (user interaction / supply-chain delivery of the sample), and reliable code execution beyond a deterministic crash is build- and runtime-dependent rather than guaranteed. |
| Impact | The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H = 9.8) overstates real-world exposure for a file-parsing library: the vulnerability is not a listening network service but is triggered only when the parser is fed attacker-controlled firmware, which in most deployments is a local or supply-chain action rather than direct remote unauthenticated access, so a more honest read is AV:L or AV:N with UI:R and a lower complexity of successful RCE. The confirmed, deterministic impact is a crash (availability), while code execution is described as merely 'potentially' possible and the out-of-bounds writes are constrained (largely zero writes), which argues against uniform C:H/I:H. There is no CISA KEV listing, no public POC, and no EPSS value supplied, so this reads as a real-but-not-yet-exploited hardening issue rather than an urgent internet-facing emergency - though because firmware-analysis pipelines routinely ingest untrusted images, even a mid-sized municipal IT team in legnica running automated firmware triage should treat unpatched use as urgent and upgrade promptly. The dominant realistic outcome today is denial of service of the analysis process, with RCE as a build-dependent upper bound. |
| Exploit ScenarioDerived | An analyst or automated malware/firmware triage pipeline ingests a UEFI image submitted by an external party; the image contains a crafted Tiano/EFI compressed section whose Huffman code-length stream encodes an oversized Number/run-length. When uefi-firmware-parser expands the section (CompressedSection.process → TianoDecompress → DecodeC → ReadCLen), the out-of-bounds writes corrupt the heap, deterministically crashing the parser and, depending on build and heap layout, potentially executing attacker code in the analysis context. No public exploit is currently known, so the near-term practical result is denial of service of the parsing job. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 15, 2026
Heap out-of-bounds write in the theopolis uefi-firmware-parser Python package (versions prior to 1.14) lets a crafted Tiano/EFI-compressed firmware image corrupt heap memory when the file is parsed. The bundled native Tiano decompressor's ReadCLen() in Decompress.c reads a 9-bit length (up to 511, plus a run-length path allowing up to 531 writes) into the 510-element Sd->mCLen array without an Index < NC bound, producing a deterministic crash and potential code execution in the parsing process. No public exploit identified at time of analysis; the flaw is reached through the normal CompressedSection.process() parsing path, so any tool or service that ingests untrusted firmware with this library is at risk.
RemediationAI
Vendor-released patch: upgrade to uefi-firmware-parser 1.14 or later (pip install -U uefi-firmware), which replaces the forked decompressor with the upstream EDK2 implementation carrying the CVE-2017-5731..5735 bounds fixes; see the fix commit https://github.com/theopolis/uefi-firmware-parser/commit/bf3dfaa8a05675bae6ea0cbfa082ddcebfcde23e, PR https://github.com/theopolis/uefi-firmware-parser/pull/145, and release https://github.com/theopolis/uefi-firmware-parser/releases/tag/v1.14. If immediate upgrade is not possible, treat all firmware inputs as untrusted and process them only from images of known provenance, and run the parser inside a sandbox or isolated/low-privilege container so a heap corruption crash or potential code execution cannot pivot into the host - the trade-off being added pipeline complexity and latency. Where feasible, avoid or gate the Tiano/EFI compressed-section decompression path on unvetted samples until patched; the side effect is that legitimately compressed sections will fail to expand, reducing parser coverage.
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
The affected component is a C-language port of Intel's EDK2 Tiano/EFI decompressor (Decompress.c) that theopolis/uefi-firmware-parser ships as a native extension (efi_compressor) and invokes from Python when expanding CompressedSection firmware sections. The root cause is CWE-787 (out-of-bounds write): ReadCLen() obtains Number = GetBits(Sd, CBIT) with CBIT = 9, so Number can reach 511, but the destination Huffman code-length array Sd->mCLen holds only NC = 510 entries, and the write loop terminates on Index < Number rather than Index < NC. The CharC == 2 run-length branch compounds this by computing GetBits(Sd, 9) + 20, permitting up to 531 sequential zero writes via Sd->mCLen[Index++] = 0. This project forked the decompressor without the upstream EDK2 hardening that fixed the analogous 2017 bugs (CVE-2017-5731 through CVE-2017-5735), so the same missing-bounds class re-appeared. The only affected CPE is cpe:2.3:a:theopolis:uefi-firmware-parser:*:*:*:*:*:*:*:* (pip package uefi-firmware).
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
A file-parsing library exploited only when a victim feeds it a crafted image, so AV:L/UI:R; confirmed impact is a deterministic crash (A:H) with limited, mostly-zero OOB writes making C/I only Low.
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, ReadCLen() in uefi_firmware/compression/Tiano/Decompress.c reads Number from GetBits(Sd, CBIT) with CBIT = 9 and can obtain 511 entries for the 510-element Sd->mCLen heap array because its loop does not enforce Index < NC. The CharC == 2 run-length path can additionally request up to 531 zero writes through Sd->mCLen[Index++] = 0. The normal CompressedSection.process() to efi_compressor.TianoDecompress() to TianoDecompress() to DecodeC() to ReadCLen() parsing path therefore permits crafted Tiano or EFI compressed firmware to corrupt heap memory, deterministically crash the parsing process, and potentially execute code depending on build and runtime details. This issue is fixed in version 1.14.
Technical POC Analysis
Bug class: CWE-787 Out-of-bounds Write.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The uefi-firmware-parser Python package (versions prior to 1.14) contains a heap out-of-bounds write vulnerability that enables arbitrary code execution during firmware image parsing. Organizations using this package for firmware analysis, validation, or tool integration face direct risk of code execution at a foundational trust boundary-potentially enabling persistent pre-OS compromise. Immediate patching is required to eliminate this critical vulnerability in the firmware analysis supply chain.
Apply vendor patch: upgrade uefi-firmware-parser to version 1.14 or later. If immediate patching is not feasible, restrict firmware sources to verified, cryptographically signed images and disable untrusted firmware processing until updated.
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.
EUVD-2026-78065
GHSA-hm2w-vr2p-hq7w
NVD
CVE.org
EPSS
Exploit-DB