# JLSEC-2026-790: A malicious h.265 bitstream can cause integer overflow and out of bounds writes in libde265

- Severity: High 7.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-25T03:23:36.599Z
- Modified: 2026-07-25T03:30:03.612Z
- Related: CVE-2026-49346, EUVD-2026-38080

## Description

libde265 is an open source implementation of the h.265 video codec. Prior to version 1.1.0, a crafted H.265 bitstream with large SPS dimensions and 16-bit bit depth causes a signed integer overflow in `de265_image_get_buffer()` (`libde265/image.cc:128`). The overflow wraps the plane allocation size to a small value (~1 KB), but the subsequent `fill_image()` call computes the real size using `size_t`, writing ~4 GB into the undersized heap buffer. Version 1.1.0 patches the issue.

(As written by Julia Security Advisories.)

## Affected

- libde265_jll (Julia): before 1.1.0+0

## References

- <https://github.com/strukturag/libde265/commit/8a1b5cf212f78e1c77cb46eb5d56e492a9336eb8> (web)
- <https://github.com/strukturag/libde265/security/advisories/GHSA-vv8h-932h-7r86> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-790](https://osv.dev/vulnerability/JLSEC-2026-790), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-790 · Whole record: https://cve.day/JLSEC-2026-790.json · Rebuilt by cve.day 2026-11-25T22:56:26.238Z
