GHSA-rmc9-8qp4-gjhx
6.5medium
Panic on chroma QP offsets enabled with an empty offset list
- Severity
- 6.5medium CVSS:3.1 by RustSec Advisory Database
- Published
- Last changed
- Also known as
- RUSTSEC-2026-0460
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):
with an empty list there is no offset to apply, and the offset is zero.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| heifer-hevc-dec (crates.io) | from 0.0.0-0 before 0.3.27 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2026-0460 changed 2026-11-09 | CC0-1.0 |