# CVE-2024-31582

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-04-17 · Modified: 2025-11-04
- Aliases: UBUNTU-CVE-2024-31582, DEBIAN-CVE-2024-31582, CGA-2c87-48cf-8x85, CGA-2xrp-f44h-4j92, ALPINE-CVE-2024-31582
- Record: https://cvemate.com/vulnerability/CVE-2024-31582 · JSON: https://cvemate.com/vulnerability/CVE-2024-31582/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.344%, percentile 29.937%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ffmpeg (Alpine Linux): ≥ 6.1, \< 7.1.1-r0
- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- debian ffmpeg (Debian): \< 7:5.1.7-0+deb12u1 \| \< 7:7.0.1-3
- ubuntu ffmpeg (Ubuntu): \< 7:6.1.1-3ubuntu5+esm1
- fedoraproject fedora: 38 \| 39 \| 40
- ffmpeg ffmpeg: ≥ 6.1, \< 7.0

## References

- <https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c#L220>
- <https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2>
- <https://gist.github.com/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/>
- <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/>
- <https://ubuntu.com/security/CVE-2024-31582>
- <https://www.cve.org/CVERecord?id=CVE-2024-31582>
- <https://ubuntu.com/security/notices/USN-6803-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-31582>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31582.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31582>
- <https://security.alpinelinux.org/vuln/CVE-2024-31582>

---

Data as of 2026-12-05T06:11:00.450Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
