Use After Free Affecting ffmpeg package, versions <7:4.2.7-0ubuntu0.1+esm3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.51% (72nd 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-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?

Upgrade Ubuntu:20.04 ffmpeg to version 7:4.2.7-0ubuntu0.1+esm3 or higher.

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 Base Scores

version 3.1