GHSA-rmc9-8qp4-gjhx: Panic on chroma QP offsets enabled with an empty offset list
Published 2026-11-04 · Updated 2026-11-09 · Also known as RUSTSEC-2026-0460
Summary
The heifer-hevc-dec crate is susceptible to an application crash when processing malformed HEVC streams that reference an empty chroma QP offset list. Users of applications decoding untrusted HEIC files or HEVC streams should update their dependencies to the latest version.
Who is affected
Affected deployments include any application using the heifer-hevc-dec crate or the heifer crate to decode untrusted HEVC streams or HEIC files. An attacker can trigger a panic by providing a stream that enables chroma QP offsets while the picture parameter set provides an empty list, leading to a denial of service. Because the crate avoids unsafe code, memory corruption is not possible.
Exploitability
The vulnerability is exploitable remotely with low attack complexity, requiring user interaction to process the malicious stream. The CVSS 3.1 score of 6.5 reflects the potential for a denial of service, though the impact is limited to availability. There is no EPSS or CISA KEV data available to suggest active exploitation at this time.
Remediation
- Upgrade the heifer-hevc-dec crate to version 0.3.27 or later.
- Update any parent dependencies such as the heifer crate to incorporate the patched version of the decoder.
How to check your project
- Check Cargo.lock files to see if the heifer-hevc-dec crate is present and versioned below 0.3.27.
- Run 'cargo tree -p heifer-hevc-dec' to identify the dependency path within the project.
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
Is this vulnerability exploitable for code execution?
No. The maintainers confirmed the crate avoids unsafe code, preventing memory corruption, and the issue manifests strictly as a program panic.
Does this impact all HEVC streams?
No. The flaw specifically requires an HEVC Range Extensions stream that enables 'cu_chroma_qp_offset_enabled_flag' while simultaneously carrying an empty chroma QP offset list.
What is the CWE identifier for this flaw?
Not documented.
Original advisory description
References
- PACKAGE https://crates.io/crates/heifer-hevc-dec
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0460.html
- WEB https://github.com/HarpeLm/Heifer/commit/1a8426e1b41160fb48d8baf8be858238570a8093
Source records: RUSTSEC-2026-0460 (OSV.dev).