# CVE-2024-31585

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, 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-06-09
- Aliases: DEBIAN-CVE-2024-31585, CGA-5c5c-5rwg-78j8, CGA-wwrm-84ph-24jp
- Record: https://cvemate.com/vulnerability/CVE-2024-31585 · JSON: https://cvemate.com/vulnerability/CVE-2024-31585/json

## Description

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

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
- EPSS: 0.332%, percentile 28.392%, 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

- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- debian ffmpeg (Debian): \< 7:5.1.5-0+deb12u1 \| \< 7:7.0.1-3
- fedoraproject fedora: 38 \| 39 \| 40
- ffmpeg ffmpeg: ≥ 5.1, \< 7.0

## References

- <https://github.com/ffmpeg/ffmpeg/commit/ab0fdaedd1e7224f7e84ea22fcbfaa4ca75a6c06>
- <https://github.com/FFmpeg/FFmpeg/commit/81df787b53eb5c6433731f6eaaf7f2a94d8a8c80>
- <https://gist.github.com/1047524396/dc2c64ffe0c3934a6176bcd2c5cf5656>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/>
- <https://github.com/FFmpeg/FFmpeg/commit/3061bf668feffc7c1f0b244205167b3b86da8015>
- <https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/bf2d7b20ea1c7d15dcbaedd479f40295e5c83430..3061bf668feffc7c1f0b244205167b3b86da8015:/libavfilter/avf_showspectrum.c>
- <https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/aec67d3d7d2895bfea61aa1358d9d8e956f8615c..ab0fdaedd1e7224f7e84ea22fcbfaa4ca75a6c06:/libavfilter/avf_showspectrum.c>
- <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://security-tracker.debian.org/tracker/CVE-2024-31585>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31585.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31585>

---

Data as of 2026-12-05T06:11:00.889Z. 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
