MEDIUM · CVSS 3.1 6.5

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

How to check your 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

EcosystemPackageAffected versionsFixed inUpgrade
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 vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

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
An HEVC Range Extensions stream can set `cu_chroma_qp_offset_enabled_flag` in a slice while its picture parameter set carries an empty chroma QP offset list. The decoder then read the list at the signalled index, which panicked on the out-of-range access. A panic aborts the decoding thread, or the whole process when built with `panic = "abort"`. The crate forbids `unsafe` code, so there is no memory corruption. Any application that decodes untrusted HEIC files or HEVC streams with `heifer-hevc-dec`, directly or through the `heifer` crate, is affected. The flaw was corrected in 0.3.27 (commit [`1a8426e`](https://github.com/HarpeLm/Heifer/commit/1a8426e1b41160fb48d8baf8be858238570a8093)): with an empty list there is no offset to apply, and the offset is zero.

References

Source records: RUSTSEC-2026-0460 (OSV.dev).