| Name | CVE-2026-64831 |
| Description | FFmpeg versions 8.0 through 8.1.2 contains a stack buffer overflow vulnerability in the Vulkan HEVC hardware decoder that allows remote attackers to overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream. Attackers can embed a malicious vps_num_hrd_parameters value exceeding HEVC_MAX_SUB_LAYERS in any supported container format to overflow stack-allocated arrays in the vk_hevc_end_frame function, potentially achieving arbitrary code execution. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | fixed |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed | |
| forky | 7:8.1.2-2 | vulnerable | |
| sid | 7:9.0.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | bookworm | (not affected) | |||
| ffmpeg | source | trixie | (not affected) | |||
| ffmpeg | source | (unstable) | 7:9.0.2-1 |
[trixie] - ffmpeg <not-affected> (Vulnerable code not present)
[bookworm] - ffmpeg <not-affected> (Vulnerable code not present)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665
Introduced with: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/82864c21112157951ce91b4430a9018edd02f5ab (n8.0)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed (master)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3d129a4a8531e9f7baa8558c7c994b4dd36bcf04 (n9.0)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/6b3015cd92d4a0f96b0511e8110c50ac0dcc9d3a (n8.1.3)