CVE-2022-48434: Use After Free

Published Mar 29, 2023
·
Updated

libavcodec/pthreadframe.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).

Affected Software

6 affected componentsFixes available
ubuntu/ffmpeg<7:5.1.2-1, <5.1.2, <5.0.1, <4.4.3
7:5.1.2-15.1.25.0.14.4.3
ubuntu/ffmpeg<7:3.4.11-0ubuntu0.1+
7:3.4.11-0ubuntu0.1+
ubuntu/ffmpeg<7:4.2.7-0ubuntu0.1+
7:4.2.7-0ubuntu0.1+
ubuntu/ffmpeg<7:4.4.2-0ubuntu0.22.04.1+
7:4.4.2-0ubuntu0.22.04.1+
debian/ffmpeg<=7:4.1.9-0+deb10u1, <=7:4.1.11-0+deb10u1, <=7:4.3.6-0+deb11u1
7:5.1.4-0+deb12u17:6.1.1-1
FFmpeg FFmpeg<5.1.2

Event History

Mar 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:13 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-48434?

CVE-2022-48434 is a vulnerability in FFmpeg before 5.1.2 that allows attackers to trigger a use-after-free and execute arbitrary code.

2

What software is affected by CVE-2022-48434?

FFmpeg before version 5.1.2, as well as VLC and other products that use FFmpeg, are affected by CVE-2022-48434.

3

What is the severity of CVE-2022-48434?

CVE-2022-48434 has a severity score of 8.1, which is considered high.

4

How can the CVE-2022-48434 vulnerability be exploited?

Attackers can exploit CVE-2022-48434 by triggering a use-after-free and executing arbitrary code, typically by manipulating mid-video SPS changes when hardware is re-initialized.

5

How can I fix CVE-2022-48434?

To fix CVE-2022-48434, update FFmpeg to version 5.1.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203