GHSA-rcff-5x58-7w2p: Panic on an HEVC tile layout that does not match the active SPS
Published 2026-11-04 · Updated 2026-11-09 · Also known as RUSTSEC-2026-0456
Summary
A panic vulnerability exists in the heifer-hevc-dec crate when parsing a crafted HEVC stream with a mismatched tile layout and SPS. Engineering teams handling untrusted HEIC files or HEVC streams should update their dependencies.
Who is affected
Applications using heifer-hevc-dec or the heifer crate to decode untrusted HEIC files or HEVC streams are affected when processing a crafted stream that redefines the SPS. Because Rust bounds checks turn indexing past coding tree block tables into a panic, this can abort the decoding thread or the entire process if built with panic = 'abort'. The crate forbids unsafe code, meaning there is no memory corruption.
Exploitability
The vulnerability has a CVSS base score of 6.5 (Medium) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, indicating it can be exploited over the network with low complexity requiring user interaction, resulting in high availability impact with no confidentiality or integrity impact. EPSS is not yet available, and CISA KEV lists active exploitation as no.
Remediation
- Update the heifer-hevc-dec crate to version 0.3.27 or later.
- Ensure dependent projects using the heifer crate also resolve the updated heifer-hevc-dec version.
How to check your project
- Check Cargo.toml and Cargo.lock files for dependencies on the 'heifer-hevc-dec' or 'heifer' crates with versions below 0.3.27.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | heifer-hevc-dec |
>= 0.0.0-0, < 0.3.27 | 0.3.27 | cargo update -p heifer-hevc-dec --precise 0.3.27 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
Does this vulnerability lead to memory corruption?
No, the crate forbids unsafe code, and Rust's bounds checks convert the out-of-bounds indexing into a panic instead of memory corruption.
What is the consequence of the panic?
A panic will abort the decoding thread, or the whole process if built with panic = 'abort'.
What version fixes the issue?
The flaw was corrected in heifer-hevc-dec version 0.3.27.
Original advisory description
References
- PACKAGE https://crates.io/crates/heifer-hevc-dec
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0456.html
- WEB https://github.com/HarpeLm/Heifer/commit/71dfc67f1e3ae3c4b7e4cf633e83a26c94b06a92
Source records: RUSTSEC-2026-0456 (OSV.dev).