Buffer overflow in Ffmpeg
CVE-2024-31582
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 28.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ffmpeg
- Fedoraproject Fedora — versions 38, 39, 40
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (11notes/docker-paperless-ngx, akaganeite/CVE4PP, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c (Product)
- github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2 (Patch)
- gist.github.com/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3 (Third Party Advisory)
- FEDORA-2024-92780a83f9 (vendor-advisory, Third Party Advisory)
- FEDORA-2024-55e7e839f1 (vendor-advisory, Third Party Advisory)
- FEDORA-2024-3a548f46a8 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…