CVE-2026-54334 json
UEFI Firmware Parser: Heap out-of-bounds write in tiano decompressor `ReadCLen`
published 2026-04-16 6 mo ago modified 2026-09-30 39 d ago also GHSA-hm2w-vr2p-hq7w , PYSEC-2026-3394 , EUVD-2026-78065
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 53 d ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | uefi-firmware | <=1.12 |
no fix listed |
Affected products
- theopolis uefi-firmware-parser
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/theopolis/uefi-firmware-parser/pull/145
web
-
github.com
/theopolis/uefi-firmware-parser/commit/bf3dfaa8a05675bae6ea0cbfa082ddcebfcde23e
web
-
github.com
/theopolis/uefi-firmware-parser/security/advisories/GHSA-hm2w-vr2p-hq7w
web
- github.com /theopolis/uefi-firmware-parser/releases/tag/v1.14
-
github.com
/theopolis/uefi-firmware-parser
package
-
pypi.org
/project/uefi-firmware
package
-
github.com
/advisories/GHSA-hm2w-vr2p-hq7w
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-54334
advisory
Sources
- CVE List CVE-2026-54334
- GitHub Advisory GHSA-hm2w-vr2p-hq7w
- NVD CVE-2026-54334
- OSV PYSEC-2026-3394
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.