Skip to main content
← Vulnerabilities

Panic on chroma QP offsets enabled with an empty offset list

Exploited
No known exploitation
Fix
Fixed in 0.3.27
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 0.3.27.

Published
Last modified
10/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

The heifer-hevc-dec Rust crate, and the heifer crate that uses it, can crash when decoding a crafted HEVC or HEIC stream whose slice enables chroma QP offsets while the picture parameter set has an empty offset list. The resulting panic aborts the decoding thread, or the whole process if the crate is built with panic set to abort, but the crate forbids unsafe code, so no memory corruption is possible.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

10Pcve.now Index 10 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach10/20Affects crates.io packages
  • Severity?/10Unknown. No CVSS score or vendor rating
  • No patch0/5No signal

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 32 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 0.3.27.

Timeline

  1. Advisory published5 days
  2. Record last updated

Affected versions

Evidence 3

  1. Advisory
  2. Repository
  3. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about RUSTSEC-2026-0460

Is RUSTSEC-2026-0460 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by RUSTSEC-2026-0460?

heifer-hevc-dec (crates.io): from 0.0.0-0 before 0.3.27.Source: cve.now feed data

How do I fix RUSTSEC-2026-0460?

Upgrade to a fixed version: 0.3.27.Source: cve.now feed data