Use of Uninitialized Variable Affecting ffmpeg package, versions [,9.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (28th 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-UNMANAGED-FFMPEG-22840826
  • published24 Nov 2026
  • disclosed24 Nov 2026
  • creditJoshua Rogers (AISLE Research)

Introduced: 24 Nov 2026

NewCVE-2026-135714  (opens in a new tab)
CWE-457  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Variable via the amf_get_field_value2() function in libavformat/rtmppkt.c. A malicious RTMP server, or a client connecting while FFmpeg is in listen mode, can send truncated onStatus or _error AMF strings; FFmpeg terminates them at the declared length rather than the bytes read, so log messages expose uninitialized stack memory.

Notes

  • At the string-handling step, the disclosure is bounded by the destination buffer: a short read can expose uninitialized bytes only between the bytes read and the declared length, which is capped at dst_size - 1.

CVSS Base Scores

version 4.0
version 3.1