CVE-2017-5732
published 2018-10-16CVE-2017-5732: edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [REJECTED CVE] A vulnerability exists in EDK-2 within…
high7.8
edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
[REJECTED CVE] A vulnerability exists in EDK-2 within BaseUefiDecompressLib.c (MdePkg/Library/BaseUefiDecompressLib). An authenticated attacker could exploit this vulnerability by supplying a crafted file, potentially leading to privilege escalation.
Package: edk2 (Red Hat Enterprise Linux 8) - Not affected
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos_mojave | — | — |
CVSS provenance
ghsa7.8HIGH
vendor_redhat6.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
vendor_redhat·2018-10-16·CVSS 6.7
CVE-2017-5732 [MEDIUM] CWE-287 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
[REJECTED CVE] A vulnerability exists in EDK-2 within BaseUefiDecompressLib.c (MdePkg/Library/BaseUefiDecompressLib). An authenticated attacker could exploit this vulnerability by supplying a crafted file, potentially leading to privilege escalation.
Package: edk2 (Red Hat Enterprise Linux 8) - Not affected
Apple
CVE-2017-5732: macOS Mojave 10.14
vendor_apple·2018-09-24
CVE-2017-5732 CVE-2017-5732: macOS Mojave 10.14
Apple Security Update: About the security content of macOS Mojave 10.14
Product: macOS Mojave
Version: 10.14
CVE: CVE-2017-5732
Component: Firmware
Impact: An attacker with physical access to a device may be able to elevate privileges
Description: A memory corruption issue was addressed with improved input validation.
GHSA
UEFI Firmware Parser has a heap out-of-bounds write in tiano decompressor ReadCLen
ghsa·2026-04-16·CVSS 7.8
[HIGH] CWE-787 UEFI Firmware Parser has a heap out-of-bounds write in tiano decompressor ReadCLen
UEFI Firmware Parser has a heap out-of-bounds write in tiano decompressor ReadCLen
`uefi-firmware` contains a heap out-of-bounds write vulnerability in the native tiano/EFI decompressor. in `uefi_firmware/compression/Tiano/Decompress.c`, `ReadCLen()` reads `Number = GetBits(Sd, CBIT)` with `CBIT = 9`, so `Number` can be as large as `511`, while the destination array `Sd->mCLen` has `NC = 510` elements. the loop writes while `Index mCLen[Index++] = 0`.
Reachability is through the normal parsing path: `CompressedSection.process()` -> `efi_compressor.TianoDecompress()` -> `TianoDecompress()` -> `DecodeC()` -> `ReadCLen()`.
Minimum impact is a deterministic crash; depending on build/runtime details, the heap memory corruption may be exploitable for code execution in the context of the parsi
GHSA
UEFI Firmware Parser has a stack out-of-bounds write in tiano decompressor MakeTable
ghsa·2026-04-16·CVSS 7.8
[HIGH] CWE-787 UEFI Firmware Parser has a stack out-of-bounds write in tiano decompressor MakeTable
UEFI Firmware Parser has a stack out-of-bounds write in tiano decompressor MakeTable
`uefi-firmware` contains a stack out-of-bounds write vulnerability in the native tiano/EFI decompressor. in `uefi_firmware/compression/Tiano/Decompress.c`, `MakeTable()` does not validate that bit-length values read from the compressed bitstream are within the expected range (`0..16`). a crafted firmware blob can supply bit lengths greater than `16`, causing out-of-bounds writes to the stack-allocated `Count[17]` array and related decode tables.
reachability is through the normal parsing path: `CompressedSection.process()` -> `efi_compressor.TianoDecompress()` -> `TianoDecompress()` -> `ReadPTLen()` -> `MakeTable()`.
Minimum impact is a deterministic crash; depending on build/runtime details, the stack
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [epel-all]
bugzilla·2018-10-22
CVE-2017-5732 [MEDIUM] CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [epel-all]
CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue af
Bugzilla
CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [fedora-all]
bugzilla·2018-10-22
CVE-2017-5732 [MEDIUM] CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [fedora-all]
CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issu
Bugzilla
CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
bugzilla·2018-10-22
CVE-2017-5732 [MEDIUM] CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
CVE-2017-5732 edk2: Privilege escalation via processing of malformed files in BaseUefiDecompressLib.c
In EDK II, a vulnerability exists in BaseUefiDecompressLib.c (MdePkg/Library/BaseUefiDecompressLib). An authenticated attacker could exploit this via a crafted file to escalate privileges.
External Reference:
https://edk2-docs.gitbooks.io/security-advisory/content/edk-ii-tianocompress-bounds-checking-issues.html
Upstream Bug:
https://bugzilla.tianocore.org/show_bug.cgi?id=686
Discussion:
Created edk2 tracking bugs for this issue:
Affects: epel-all [bug 1641448]
Affects: fedora-all [bug 1641447]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2019:2125 https://access.redhat.com/errata/RHSA-2019:2125
---
This bug is now closed.
2018-10-16
Published