# CVE-2026-49295: Strukturag libde265 out-of-bounds write in process_reference_picture_set

Source: https://junglewise.ai/threats/cve-2026-49295-strukturag-libde265-out-of-bounds-write-in-process-reference  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-19. Updated: 2026-06-21  
License: CC BY 4.0 with a link back

CVE-2026-49295 · Severity: high · CVSS 7.1 · Published 2026-06-19

libde265 is an open-source library used by various applications to decode H.265 (HEVC) video files. A vulnerability in how the library handles specific video data structures allows an attacker to cause a crash or potentially execute unauthorized code by providing a specially crafted video file. This could lead to service disruptions or unauthorized access if a user opens a malicious video file in an affected application.

Technologies: [struktur AG Libde265](https://junglewise.ai/threats/technologies/libde265). Vendors: [struktur AG](https://junglewise.ai/threats/vendors/struktur-ag).

## Quick answers

**Is CVE-2026-49295 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-49295 being exploited in the wild.

**How severe is CVE-2026-49295?** High severity, with a CVSS score of 7.1, published 19 June 2026.

**Which products and versions are affected?** struktur AG Libde265 < 1.0.20.

**Is there a fix for CVE-2026-49295?** A patch was published on 2026-06-19: Fix committed in version 1.0.20 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-49295 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-49295?** Check whether you run struktur AG Libde265 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An out-of-bounds write vulnerability exists in libde265 within the `decoder_context::process_reference_picture_set()` function in `decctx.cc`. The issue stems from a missing aggregate bound check when constructing predicted short-term reference picture sets (RPS). While individual list sizes are validated, the combined count of entries after predicted RPS construction can exceed the 16-entry limit of the `PocStFoll` array, leading to a write at index 16. An attacker can exploit this by providing a crafted H.265 bitstream with `inter_ref_pic_set_prediction_flag=1` that results in 17 entries. This is a remote attack vector requiring user interaction (opening a file) and can result in memory corruption, application crashes, or potential arbitrary code execution. The vulnerability is patched in version 1.0.20.

## Affected products

- strukturag libde265 < 1.0.20

## Timeline

- 2026-05-26: advisory: GitHub Security Advisory published
- 2026-06-19: disclosed: NVD publication date
- 2026-06-19: patched: Fix committed in version 1.0.20

## References

- [https://github.com/strukturag/libde265/commit/691f3a3c55b3d32478c4a49895dee061a282652b](https://github.com/strukturag/libde265/commit/691f3a3c55b3d32478c4a49895dee061a282652b)
- [https://github.com/strukturag/libde265/security/advisories/GHSA-g2rg-wj66-w594](https://github.com/strukturag/libde265/security/advisories/GHSA-g2rg-wj66-w594)

## Related threats

- [Strukturag libde265 heap buffer overflow in decode_slice_unit_WPP](https://junglewise.ai/threats/cve-2026-45383-strukturag-libde265-heap-buffer-overflow-in-decode-slice-unit-wpp)
- [strukturag libde265 out-of-bounds read in decode_slice_unit_tiles](https://junglewise.ai/threats/cve-2026-45382-strukturag-libde265-out-of-bounds-read-in-decode-slice-unit-tiles)
- [Strukturag libde265 heap buffer overflow in de265_image_get_buffer](https://junglewise.ai/threats/cve-2026-49346-strukturag-libde265-heap-buffer-overflow-in-de265-image-get)
- [Strukturag libde265 unbounded heap growth in read_slice_NAL](https://junglewise.ai/threats/cve-2026-49337-strukturag-libde265-unbounded-heap-growth-in-read-slice-nal)
