Cyber Resilience

CVE-2024-31585

Fedoraproject Fedora 38 … 40

Published
17 April 2024
Modified
09 June 2025
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
EPSS Score 0.0028 20th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2024-31585 is a medium-severity Off-by-one Error (CWE-193) vulnerability in Fedoraproject Fedora. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 20th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

The off-by-one error in FFmpeg's showspectrum filter enables denial of service via crafted input, mapping to endpoint DoS through application exploitation.

CVEs Like This One

CVE-2024-31582Same product: Fedoraproject Fedora
CVE-2024-31581Same product: Fedoraproject Fedora
CVE-2023-49528Same product: Fedoraproject Fedora
CVE-2024-31578Same product: Fedoraproject Fedora
CVE-2023-51797Same product: Fedoraproject Fedora
CVE-2023-50008Same product: Fedoraproject Fedora
CVE-2023-50009Same product: Fedoraproject Fedora
CVE-2023-51798Same product: Fedoraproject Fedora
CVE-2023-50007Same product: Fedoraproject Fedora
CVE-2023-51795Same product: Fedoraproject Fedora

Affected Assets

ffmpeg
ffmpeg
5.1 — 7.0
fedoraproject
fedora
38, 39, 40

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V6.2.1

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent off-by-one errors via reviews, static analysis, and testing.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development and acceptance can detect off-by-one errors before release.

prevents

Secure development life cycle includes requirements and reviews that can catch off-by-one errors.

prevents

Application security requirements can specify bounds-checking and input validation to prevent off-by-one errors.

prevents

Secure system architecture and engineering principles promote defensive coding practices that reduce off-by-one mistakes.

prevents

Secure coding directly addresses off-by-one errors through coding standards and peer review.

References