Integer Overflow or Wraparound Affecting ffmpeg package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (39th 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-RUST-FFMPEG-12483772
  • published3 Sept 2025
  • disclosed2 Sept 2025
  • creditzeroy0410

Introduced: 2 Sep 2025

CVE-2025-57615  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for ffmpeg.

Overview

ffmpeg is a FFmpeg wrapper

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the Vector::new function due to an unchecked cast of a usize parameter to c_int, which may result in a negative value being passed to the underlying C function sws_allocVec. An attacker can cause a process crash by supplying crafted input that triggers a null pointer dereference.

CVSS Base Scores

version 4.0
version 3.1