Vulnerability · Published Apr 17, 2024 · Assigned by mitre

CVE-2024-31582

High 7.8

In plain English

A high-severity heap buffer overflow in the ffmpeg package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23ffmpeg7.1.1-r0ALPINE-CVE-2024-31582
Alpine:v3.24ffmpeg7.1.1-r0ALPINE-CVE-2024-31582
Debian:12ffmpeg7:5.1.7-0+deb12u1DEBIAN-CVE-2024-31582
Debian:12ffmpeg7:5.1.7-0+deb12u1DSA-5985-1
Debian:13ffmpeg7:7.0.1-3DEBIAN-CVE-2024-31582
Debian:14ffmpeg7:7.0.1-3DEBIAN-CVE-2024-31582

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References