Use After Free Affecting ffmpeg package, versions [,4.4.3)[5.0,5.0.2)[5.1-dev,5.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (73rd 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FFMPEG-5327025
  • published30 Mar 2023
  • disclosed30 Mar 2023
  • creditUnknown

Introduced: 30 Mar 2023

CVE-2022-48434  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 4.4.3, 5.0.2, 5.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free when it leaves a stale hwaccel state in worker threads, which allows attackers to trigger the exploitation of this vulnerability in some circumstances (e.g., hardware re-initialization upon a mid-video SPS change when Direct3D11 is used).

CVSS Scores

version 3.1