CVE-2024-31582 json
FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the...
published 2024-04-17 2 y ago modified 2026-07-23 3 mo ago also EUVD-2024-29458 , JLSEC-2025-126
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia FFMPEG_jll 7.1.0+0
- ffmpeg ffmpeg 5.1.7
- ffmpeg Debian 12 7:5.1.7-0+deb12u1
- ffmpeg Debian 14, Debian 13 7:7.0.1-3
debian advisories DEBIAN-CVE-2024-31582
- ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm1
ubuntu advisories UBUNTU-CVE-2024-31582
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg-5 openSUSE Tumbleweed 5.1.4-5.1
- ffmpeg-6 openSUSE Tumbleweed 6.1.1-4.1
opensuse advisories openSUSE-SU-2024:13888-1openSUSE-SU-2024:13895-1
- ffmpeg Alpine 3.24, Alpine 3.23 7.1.1-r0
alpine advisories ALPINE-CVE-2024-31582
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-31582 updated
ffmpeg: multiple vulnerabilities
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | FFMPEG_jll | >=6.1.1+0, <7.1.0+0 |
7.1.0+0 |
Affected products
- ffmpeg ffmpeg
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
-
github.com
/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2
patch, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/
vendor-advisory, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/
vendor-advisory, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/
vendor-advisory, third-party-advisory, web
-
github.com
/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c#L220
product, web
-
gist.github.com
/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3
third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/
web
Sources
- CVE List CVE-2024-31582
- NVD CVE-2024-31582
- OSV JLSEC-2025-126
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Add more accurate affected version ranges.