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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.015, 75.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (akaganeite/CVE4PP, fkie-cad/nvd-json-data-feeds, h26forge/h26forge, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.ffmpeg.org/gitweb/ffmpeg.git/commit/cc867f2c09d2b69cee8a0eccd62aff002cbbfe11 (Patch, Mailing List)
- news.ycombinator.com/item (Exploit, Third Party Advisory, Issue Tracking)
- wrv.github.io/h26forge.pdf (Technical Description)
- FEDORA-2023-32c3bbbbc9 (vendor-advisory)
- FEDORA-2023-1e24db98a6 (vendor-advisory)
- GLSA-202312-14 (vendor-advisory)