{"id":"UBUNTU-CVE-2024-31582","details":"FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the draw_block_rectangle function of libavfilter/vf_codecview.c. This vulnerability allows attackers to cause undefined behavior or a Denial of Service (DoS) via crafted input.","modified":"2026-04-22T17:51:03.655780Z","published":"2024-04-17T19:15:00Z","related":["USN-6803-1"],"upstream":["CVE-2024-31582"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-31582"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-31582"},{"type":"REPORT","url":"https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c#L220"},{"type":"REPORT","url":"https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2"},{"type":"REPORT","url":"https://gist.github.com/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6803-1"}],"affected":[{"package":{"name":"ffmpeg","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/ffmpeg@7:6.1.1-3ubuntu5+esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:6.1.1-3ubuntu5+esm1"}]}],"versions":["7:6.0-6ubuntu1","7:6.0-9ubuntu1","7:6.1-2ubuntu1","7:6.1-3ubuntu1","7:6.1-4ubuntu1","7:6.1-5ubuntu1","7:6.1.1-1ubuntu1","7:6.1.1-3ubuntu1","7:6.1.1-3ubuntu5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ffmpeg","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavcodec-extra","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavcodec-extra60","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavcodec60","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavdevice60","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavfilter-extra","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavfilter-extra9","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavfilter9","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavformat-extra","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavformat-extra60","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavformat60","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libavutil58","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_name":"libpostproc57","binary_version":"7:6.1.1-3ubuntu5+esm1"},{"binary_version":"7:6.1.1-3ubuntu5+esm1","binary_name":"libswresample4"},{"binary_name":"libswscale7","binary_version":"7:6.1.1-3ubuntu5+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31582.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}