Cyber Resilience

CVE-2023-51797

Ffmpeg 7.0 … 8.1

Published
19 April 2024
Modified
07 January 2026
Patch / advisory
CVSS Score v3.1 6.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0042 34th percentile
Risk Priority 42 floored blend · peak EPSS

Summary

CVE-2023-51797 is a medium-severity Code Injection (CWE-94) vulnerability in Ffmpeg Ffmpeg. Its CVSS base score is 6.7 (Medium).

Operationally, ranked at the 34th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/avf_showwaves.c:722:24 in showwaves_filter_frame

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-6604Same product: Ffmpeg Ffmpeg
CVE-2023-6601Same product: Ffmpeg Ffmpeg
CVE-2024-25713Same product: Fedoraproject Fedora
CVE-2023-29402Same product: Fedoraproject Fedora
CVE-2023-28333Same product: Fedoraproject Fedora
CVE-2026-35093Same product: Fedoraproject Fedora
CVE-2024-5834Same product: Fedoraproject Fedora
CVE-2023-29404Same product: Fedoraproject Fedora
CVE-2023-5539Same product: Fedoraproject Fedora
CVE-2023-5550Same product: Fedoraproject Fedora

Affected Assets

ffmpeg
ffmpeg
7.0, 7.0.1, 7.0.2, 7.0.3, 7.1
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)
  • V1.3.1

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

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

PR.PS-06's SDLC practices directly target injection flaws via secure coding and testing (mostly), yet as a single broad outcome it leaves many code-generation specifics unaddressed (partial).

PR.DS-10 none match
prevents

PR.DS-10 protects runtime data confidentiality/integrity but has no bearing on neutralizing externally influenced input during code generation, so neither direction shows any preventive effect.

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.

prevents

Banning unapproved code samples and unauthenticated web services, combined with secure-coding standards and SAST, prevents the dynamic generation or inclusion of attacker-supplied code.

none

Controls that restrict unauthorized or malicious code from being introduced via external networks or removable media limit opportunities for an attacker to inject and execute arbitrary code.

References