Skip to content
Fencer Vulns
medium 5.3

CVE-2024-31585 json

FFmpeg version n5.1 to n6.1 was discovered to contain an Off-by-one Error vulnerability in...

published 2024-04-17 2 y ago modified 2026-07-23 3 mo ago also EUVD-2024-29460 , JLSEC-2025-127

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

Summary

FFmpeg version n5.1 to n6.1 was discovered to contain an Off-by-one Error vulnerability in libavfilter/avf_showspectrum.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

Patch / fix

  • julia FFMPEG_jll 7.1.0+0
  • ffmpeg ffmpeg 5.1.5, 6.1.1
  • ffmpeg Debian 12 7:5.1.5-0+deb12u1
  • ffmpeg Debian 14, Debian 13 7:7.0.1-3

debian advisories DEBIAN-CVE-2024-31585

  • ffmpeg-5 openSUSE Tumbleweed 5.1.4-5.1

opensuse advisories openSUSE-SU-2024:13888-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-31585 updated

ffmpeg: multiple vulnerabilities

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
CNA 3.1 5.3 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
OSV 3.1 5.3 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
>=6.1.1+0, <7.1.0+0
7.1.0+0

Affected products

  • ffmpeg ffmpeg

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Update affected version ranges.