GHSA-rmc9-8qp4-gjhx
MEDIUM 6.5CVSS 3.1Panic on chroma QP offsets enabled with an empty offset list
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):
with an empty list there is no offset to apply, and the offset is zero.
- Published
- 4 Nov 2026
- Last modified
- 9 Nov 2026
- Also known as
- RUSTSEC-2026-0460
- Sources
- OSV RUSTSEC-2026-0460JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | RustSec | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | heifer-hevc-dec | >= 0.0.0-0, < 0.3.27 | 0.3.27 |
References
- https://crates.io/crates/heifer-hevc-dec · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0460.html · ADVISORY
- https://github.com/HarpeLm/Heifer/commit/1a8426e1b41160fb48d8baf8be858238570a8093 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Nov 2026)