CVE-2026-49295 libde265 has an out-of-bounds write in process_reference_picture_set via predicted short-term RPS

High 7.1 Published Updated

A crafted H.265 bitstream triggers an out-of-bounds write in libde265, potentially allowing code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-49295?

CVE-2026-49295 is a high-severity memory corruption vulnerability in Struktur Libde265, published on 19 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted H.265 bitstream can cause an out-of-bounds array write in `decoder_context::process_reference_picture_set()` (`libde265/decctx.cc:1376`). The root cause is a missing aggregate bound check on predicted short-term reference picture set entries. Individual list sizes are validated, but the combined count after predicted RPS construction can exceed the 16-entry `PocStFoll` array, writing at index 16. Version 1.0.20 patches the issue.

Weakness: CWE-787

Which versions are affected by CVE-2026-49295?

It affects 1 product.

Products include Struktur Libde265.

How do I fix CVE-2026-49295?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-49295 being exploited?

There is no known exploitation of CVE-2026-49295 in the wild and no public exploit code.

All Struktur Libde265 vulnerabilities

Sources

Also known as ALPINE-CVE-2026-49295, BELL-CVE-2026-49295, DEBIAN-CVE-2026-49295, ECHO-8e85-f1ba-f7f7, GHSA-g2rg-wj66-w594, JLSEC-2026-789 and 3 more.

Is CVE-2026-49295 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free