Use After Free in Ffmpeg

CVE-2022-48434

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).

Vulnerability class: Use-After-Free

EPSS: 0.015 (71.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-48434?
CVE-2022-48434 is a high-severity vulnerability in Ffmpeg, classified under Use After Free. CVSS score: 8.1/10. Published 2023-03-29.
How severe is CVE-2022-48434?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2022-48434 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.