cve.bz

CVE-2024-31582 Heap-based Buffer Overflow

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31582 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31582?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31582?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31582 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ffmpeg:ffmpegfrom 6.1 before 7.0
fedoraproject:fedora38
fedoraproject:fedora39
fedoraproject:fedora40

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ffmpeg7:5.1.7-0+deb12u1DEBIAN-CVE-2024-31582 DSA-5985-1
Debian13, 14ffmpeg7:7.0.1-3DEBIAN-CVE-2024-31582
UbuntuPro:16.04:LTSffmpeg7:2.8.17-0ubuntu0.1+esm7USN-6803-1
UbuntuPro:18.04:LTSffmpeg7:3.4.11-0ubuntu0.1+esm5USN-6803-1
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm5USN-6803-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm4USN-6803-1
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm1UBUNTU-CVE-2024-31582 USN-6803-1
openSUSETumbleweedffmpeg-55.1.4-5.1openSUSE-SU-2024:13888-1
openSUSETumbleweedffmpeg-66.1.1-4.1openSUSE-SU-2024:13895-1
Alpinev3.23, v3.24ffmpeg7.1.1-r0ALPINE-CVE-2024-31582

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON