# CVE-2024-31582: FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the drawblockrectangle function of libavfilter/vfcode…

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-04-17T00:00:00.000Z
- Modified: 2026-06-17T07:28:36.513Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ffmpeg ffmpeg: 6.1; from 6.1 before 7.0
- fedoraproject fedora: 38; 39; 40

## References

- <https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c#L220> (product)
- <https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2> (patch)
- <https://gist.github.com/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/>

## Sources

- CVE List: [CVE-2024-31582](https://www.cve.org/CVERecord?id=CVE-2024-31582), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2024-31582](https://nvd.nist.gov/vuln/detail/CVE-2024-31582), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31582 · Whole record: https://cve.day/CVE-2024-31582.json · Rebuilt by cve.day 2026-11-25T22:58:39.422Z
