Heap-based Buffer Overflow Affecting ffmpeg package, versions [,n7.0)


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.04% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UNMANAGED-FFMPEG-6670029
  • published 21 Apr 2024
  • disclosed 19 Apr 2024
  • credit Zeng Yunxiang and Li Zeyuan

How to fix?

Upgrade ffmpeg to version n7.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to the set_encoder_id function in /fftools/ffmpeg_enc.c component. An attacker can execute arbitrary code by exploiting the buffer overflow condition.