Stack-based Buffer Overflow Affecting ffmpeg package, versions <7:4.4.2-0ubuntu0.22.04.1+esm15


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.14% (4th 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 IDSNYK-UBUNTU2204-FFMPEG-19018554
  • published28 Aug 2026
  • disclosed19 Aug 2026

Introduced: 19 Aug 2026

NewCVE-2026-75142  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 ffmpeg to version 7:4.4.2-0ubuntu0.22.04.1+esm15 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg package and not the ffmpeg package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

FFmpeg before commit 9d786e4 contains a stack buffer overflow in the MPEG-PS muxer (libavformat/mpegenc.c). When muxing input with more streams than the muxer's fixed-size stack buffer accommodates, the buffer is overflowed. A crafted input with an excessive number of streams triggers the overflow during MPEG-PS muxing.

CVSS Base Scores

version 3.1