Skip to content
Threat Feed
high advisory

FFmpeg: Heap buffer overflow in libavcodec/flicvideo.c (CVE-2026-125241)

FFmpeg versions 9.0.2 and earlier are vulnerable to a heap buffer overflow in the libavcodec/flicvideo.c component, which could allow remote code execution or application crashes via crafted FLIC files.

CVE search metadata

CVE search record: CVE-2026-125241. Severity: high. CVSS: 7.0. KEV: no. Product: FFmpeg (<= 9.0.2). Brief: FFmpeg: Heap buffer overflow in libavcodec/flicvideo.c (CVE-2026-125241). Brief link: https://feed.craftedsignal.io/briefs/2026-11-ffmpeg-cve-2026-125241/

Triage facts

Revision 1
Applicability
FFmpeg (<= 9.0.2)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
1 public source
Freshness
Revision 1Nov 9, 19:55 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely

FFmpeg versions through 9.0.2 contain a heap-based buffer overflow vulnerability in libavcodec/flicvideo.c. The flaw exists in the check_pixel_ptr() function, which fails to correctly validate bounds when processing FLIC files containing negative-stride frames. An attacker can supply a specially crafted FLIC file to trigger an out-of-bounds write, leading to heap memory corruption.

Impact

Successful exploitation may result in an application crash (denial of service) or the potential for arbitrary code execution within the context of the user running the FFmpeg-enabled application.

Recommendation

  • Inventory systems and software utilizing FFmpeg libraries.
  • Monitor for the release of patched versions of FFmpeg beyond 9.0.2 and prioritize updates for all affected integrations.
  • Implement memory safety mitigations at the compiler or OS level (e.g., ASLR, DEP) to reduce the likelihood of successful exploitation where possible.

Immediate actions

Identify all applications using FFmpeg library versions <= 9.0.2

IT Operations 48h

Threat Hunt

Monitor for abnormal crash events or memory corruption logs in applications that ingest user-provided video files (FLIC format)

T1203 medium medium confidence hunt now

Data: Application error logs, OS crash dumps

Mitigations

Upgrade FFmpeg to a version containing the security fix for CVE-2026-125241 once available

immediate IT Operations

CVE-2026-125241