Skip to main content

uefi-firmware-parser EUVDEUVD-2026-78064

| CVE-2026-54333 CRITICAL
Out-of-bounds Write (CWE-787)
2026-09-14 GitHub_M GHSA-2689-5p89-6j3j PYSEC-2026-3393
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft firmware with malformed Tiano-compressed section
  2. Delivery
    Submit to analysis pipeline or analyst
  3. Exploit
    Decompressor reads bit-length >16 in MakeTable
  4. Execution
    Out-of-bounds write past Count[17] on stack
  5. Impact
    Crash 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

uefi-firmware-parser < 1.14

Affected Packages

pypi uefi-firmware no fix
euvd uefi_firmware_parser fix: 1.14

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

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 14, 2026 - 22:19 EUVD
CVE Published
Sep 14, 2026 - 20:05 cve.org
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche firmware-security research/analysis Python tool, not broadly deployed in production
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy