Name | CVE-2024-31582 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ffmpeg (PTS) | stretch (security) | 7:3.2.18-0+deb9u1 | fixed |
| stretch (lts), stretch | 7:3.2.19-0+deb9u5 | fixed |
| buster, buster (lts) | 7:4.1.11-0+deb10u2 | fixed |
| buster (security) | 7:4.1.11-0+deb10u1 | fixed |
| bullseye | 7:4.3.7-0+deb11u1 | fixed |
| bullseye (security) | 7:4.3.8-0+deb11u1 | fixed |
| bookworm (security), bookworm | 7:5.1.6-0+deb12u1 | vulnerable |
| sid, trixie | 7:7.1-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ffmpeg | source | experimental | 7:7.0-1 | | | |
ffmpeg | source | stretch | (not affected) | | | |
ffmpeg | source | buster | (not affected) | | | |
ffmpeg | source | bullseye | (not affected) | | | |
ffmpeg | source | (unstable) | 7:7.0.1-3 | | | |
Notes
[bookworm] - ffmpeg <postponed> (Pick up when fixed in 5.1.x)
[bullseye] - ffmpeg <not-affected> (Vulnerable code not present)
[buster] - ffmpeg <not-affected> (Vulnerable code not present)
Fixed by https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2 (n7.0)
[stretch] - ffmpeg <not-affected> (The vulnerable code was introduced later)