Integer Overflow or Wraparound Affecting ffmpeg package, versions [0.5,9.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (5th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FFMPEG-18599389
  • published9 Aug 2026
  • disclosed7 Aug 2026
  • creditAdrian Junge

Introduced: 7 Aug 2026

NewCVE-2026-70628  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the capacity check in dvbsub_parse in libavcodec/dvbsub_parser.c. An attacker can trigger an out-of-bounds heap write and potential code execution by supplying a crafted WTV file that drives the buf_size - buf_pos + pc->packet_index > PARSE_BUF_SIZE guard to wrap and bypass the parser’s bounds check before memcpy() writes attacker-controlled data into a heap buffer.

CVSS Base Scores

version 4.0
version 3.1