{"id":"UBUNTU-CVE-2026-64831","details":"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.","modified":"2026-09-10T00:45:03.208462716Z","published":"2026-07-22T17:16:00Z","related":["USN-8716-2"],"upstream":["CVE-2026-64831"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-64831"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-64831"},{"type":"REPORT","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8716-2"}],"affected":[{"package":{"name":"libav","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libav?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6:0.8.7-1ubuntu2","6:9.10-1ubuntu1","6:9.10-1ubuntu2","6:9.10-1ubuntu5","6:9.10-1ubuntu6","6:9.10-1ubuntu7","6:9.11-2ubuntu1","6:9.11-2ubuntu2","6:9.13-0ubuntu0.14.04.1","6:9.14-0ubuntu0.14.04.1","6:9.16-0ubuntu0.14.04.1","6:9.18-0ubuntu0.14.04.1","6:9.20-0ubuntu0.14.04.1","6:9.20-0ubuntu0.14.04.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libav-tools","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavcodec-extra"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavcodec-extra-54"},{"binary_name":"libavcodec54","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavdevice-extra-53"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavdevice53"},{"binary_name":"libavfilter-extra-3","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavfilter3"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavformat-extra-54"},{"binary_name":"libavformat54","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"},{"binary_name":"libavresample1","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"},{"binary_name":"libavutil-extra-52","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libavutil52"},{"binary_version":"6:9.20-0ubuntu0.14.04.1+esm1","binary_name":"libswscale-extra-2"},{"binary_name":"libswscale2","binary_version":"6:9.20-0ubuntu0.14.04.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-64831.json"}},{"package":{"name":"ffmpeg","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:8.0.1-3ubuntu2+esm4"}]}],"versions":["7:7.1.1-1ubuntu4","7:7.1.2-1ubuntu3","7:7.1.2-1ubuntu4","7:7.1.3-1ubuntu1","7:8.0.1-2ubuntu1","7:8.0.1-3ubuntu1","7:8.0.1-3ubuntu2","7:8.0.1-3ubuntu2+esm1","7:8.0.1-3ubuntu2+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"7:8.0.1-3ubuntu2+esm4","binary_name":"ffmpeg"},{"binary_name":"libavcodec-extra","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_name":"libavcodec-extra62","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_name":"libavcodec62","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_name":"libavdevice62","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_name":"libavfilter-extra","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_name":"libavfilter-extra11","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_version":"7:8.0.1-3ubuntu2+esm4","binary_name":"libavfilter11"},{"binary_name":"libavformat-extra","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_version":"7:8.0.1-3ubuntu2+esm4","binary_name":"libavformat-extra62"},{"binary_name":"libavformat62","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_version":"7:8.0.1-3ubuntu2+esm4","binary_name":"libavutil60"},{"binary_name":"libswresample6","binary_version":"7:8.0.1-3ubuntu2+esm4"},{"binary_version":"7:8.0.1-3ubuntu2+esm4","binary_name":"libswscale9"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-64831.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}