GHSA-rmc9-8qp4-gjhx

GHSA-rmc9-8qp4-gjhx · RUSTSEC-2026-0460 · published 4 Nov 2026 · updated 9 Nov 2026

Panic on chroma QP offsets enabled with an empty offset list

5.0Medium

No exploitation in the wild has been reported. Fixed in heifer-hevc-dec 0.3.27.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cargo: heifer-hevc-dec>=0.0.0-0 <0.3.270.3.27

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in heifer-hevc-dec (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

GHSA-rmc9-8qp4-gjhx severity on Zeptric[![GHSA-rmc9-8qp4-gjhx](https://zeptric.io/badge/cve/GHSA-rmc9-8qp4-gjhx.svg)](https://zeptric.io/cve/GHSA-rmc9-8qp4-gjhx)