Use After Free Affecting ffmpeg package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU2004-FFMPEG-5353818
  • published31 Mar 2023
  • disclosed29 Mar 2023

Introduced: 29 Mar 2023

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

How to fix?

There is no fixed version for Ubuntu:20.04 ffmpeg.

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:20.04 relevant fixed versions and status.

libavcodec/pthread_frame.c in FFmpeg before 5.1.2, as used in VLC and other products, leaves stale hwaccel state in worker threads, which allows attackers to trigger a use-after-free and execute arbitrary code in some circumstances (e.g., hardware re-initialization upon a mid-video SPS change when Direct3D11 is used).

CVSS Scores

version 3.1