First published: Wed Mar 29 2023(Updated: )
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).
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/ffmpeg | <7:5.1.2-1<5.1.2<5.0.1<4.4.3 | 7:5.1.2-1 5.1.2 5.0.1 4.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+deb12u1 7:6.1.1-1 |
FFmpeg | <5.1.2 |
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/d4b7b3c03ee2baf0166ce49dff17ec9beff684db (4.4.x)
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/3bc28e9d1ab33627cea3c632dd6b0c33e22e93ba (5.0.x)
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/35aa7e70e7ec350319e7634a30d8d8aa1e6ecdda (5.1.x)
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/cc867f2c09d2b69cee8a0eccd62aff002cbbfe11 (n6.1-dev)
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
FFmpeg before version 5.1.2, as well as VLC and other products that use FFmpeg, are affected by CVE-2022-48434.
CVE-2022-48434 has a severity score of 8.1, which is considered high.
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.
To fix CVE-2022-48434, update FFmpeg to version 5.1.2 or later.