CVE-2024-36618
Ffmpeg vulnerability analysis and mitigation

Overview

FFmpeg version n6.1.1 contains a vulnerability in the AVI demuxer component of the libavformat library. The vulnerability (CVE-2024-36618) was disclosed on November 29, 2024, and involves an integer overflow condition that could potentially result in a denial-of-service (DoS) situation. This affects the FFmpeg multimedia framework's ability to process AVI files safely (NVD, Ubuntu).

Technical details

The vulnerability exists in the AVI demuxer's stream handling code within the libavformat library. Specifically, the issue occurs in the checkstreammaxdrift function in avidec.c where an integer overflow could occur when ULONGMAX is less than INT64_MAX. The vulnerability has been assigned a CVSS v3.1 base score of 6.2 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD, FFmpeg Commit).

Impact

The primary impact of this vulnerability is the potential for denial-of-service (DoS) conditions when processing malformed AVI files. When successfully exploited, the integer overflow could cause the application to crash or become unresponsive, affecting the availability of systems using the vulnerable FFmpeg version (NVD).

Mitigation and workarounds

A fix has been implemented and committed to the FFmpeg repository. The patch modifies the checkstreammax_drift function in avidec.c to prevent the integer overflow condition. Users should upgrade to a patched version of FFmpeg when available. For Ubuntu systems, the fix status varies by version, with some versions marked as vulnerable and requiring updates (Ubuntu, FFmpeg Commit).

Additional resources


SourceThis report was generated using AI

Related Ffmpeg vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59734HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-59733HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-59732HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-7700MEDIUM5.3
  • FfmpegFfmpeg
  • libavcodec57
NoYesNov 07, 2025
CVE-2025-12343N/AN/A
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management