Every CVE Search/ Get API key

CVE-2024-31585

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

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.33%Up 0.3 points since Apr 18, 2024
90%50%10%1%

What each source reports

CVE List Score used 5.3

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.

Record
CVE-2024-31585
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
EUVDEUVD-2024-29460 5.3

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.

Record
EUVD-2024-29460
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-vh9p-h4p4-q9vv 5.3

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

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.

Record
GHSA-vh9p-h4p4-q9vv
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
NVD 5.3

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.

Record
CVE-2024-31585
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Weakness
CWE-193
Updated
2026-11-02
OSV 5.3

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.

Record
CVE-2024-31585
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-07
OSVDEBIAN-CVE-2024-31585 5.3

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.

Record
DEBIAN-CVE-2024-31585
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVJLSEC-2025-127 5.3

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

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.

Record
JLSEC-2025-127
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-2155 5.3

ffmpeg security update

FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Security Fix(es):

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.(CVE-2024-31585)

Record
OESA-2024-2155
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-2202 5.3

ffmpeg security update

FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Security Fix(es):

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.(CVE-2024-31585)

Record
OESA-2024-2202
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-2204 5.3

ffmpeg security update

FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Security Fix(es):

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.(CVE-2024-31585)

Record
OESA-2024-2204
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-2205 5.3

ffmpeg security update

FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Security Fix(es):

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.(CVE-2024-31585)

Record
OESA-2024-2205
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2024-0248 No score

Updated ffmpeg packages fix security vulnerabilities

Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker to execute arbitrary code via the set_encoder_id function in /fftools/ffmpeg_enc.c component. (CVE-2023-50010) Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavutil/imgutils.c:353:9 in image_copy_plane. (CVE-2023-51793) Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/af_stereowiden.c:120:69. (CVE-2023-51794) Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/avf_showspectrum.c:1789:52 component in showspectrumpic_request_frame. (CVE-2023-51795) Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via a floating point exception (FPE) error at libavfilter/vf_minterpolate.c:1078:60 in interpolate. (CVE-2023-51798) 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. (CVE-2024-31585)

Record
MGASA-2024-0248
Updated
2026-11-02
OSVopenSUSE-SU-2024:13888-1 No score

ffmpeg-5-5.1.4-5.1 on GA media

These are all security issues fixed in the ffmpeg-5-5.1.4-5.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13888-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ffmpeg
Debian:12
before 7:5.1.5-0+deb12u1, plus listed versions
7:5.1.3-17:5.1.3-27:5.1.4-0+deb12u1
7:5.1.5-0+deb12u1
ffmpeg
Debian:13
before 7:7.0.1-3
7:7.0.1-3
ffmpeg
Debian:14
before 7:7.0.1-3
7:7.0.1-3
ffmpeg
Debian:12
From an advisory covering 10 CVEs
before 7:5.1.5-0+deb12u1, plus listed versions
7:5.1.3-17:5.1.3-27:5.1.4-0+deb12u1
7:5.1.5-0+deb12u1
FFMPEG_jll
Julia
6.1.1+0 up to 7.1.0+0
7.1.0+0
ffmpeg
Mageia:9
From an advisory covering 6 CVEs
before 5.1.5-1.mga9
5.1.5-1.mga9
ffmpeg
Mageia:9
From an advisory covering 6 CVEs
before 5.1.5-1.mga9.tainted
5.1.5-1.mga9.tainted
ffmpeg
openEuler:22.03-LTS-SP3
before 4.2.4-17.oe2203sp3
4.2.4-17.oe2203sp3
ffmpeg
openEuler:22.03-LTS-SP1
before 4.2.4-18.oe2203sp1
4.2.4-18.oe2203sp1
ffmpeg
openEuler:22.03-LTS-SP4
before 4.2.4-18.oe2203sp4
4.2.4-18.oe2203sp4
ffmpeg
openEuler:20.03-LTS-SP4
before 4.2.4-18.oe2003sp4
4.2.4-18.oe2003sp4
ffmpeg-5
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 5.1.4-5.1
5.1.4-5.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-31585 is a medium vulnerability (CVSS 5.3) in Ffmpeg, published April 17, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in ffmpeg 7:5.1.5-0+deb12u1.

References

Show 22 moreShow less
MoveEnter Open