Vulnerabilities · 2022 · Ffmpeg
CVE-2022-48434
Ffmpeg vulnerability
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).
Affected products
Ffmpeg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ffmpeg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.ffmpeg.org/gitweb/ffmpeg.git/commit/cc867f2c09d2b69cee8a0eccd62aff002cbbfe11 · Patch
- news.ycombinator.com/item?id=35356201 · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P
- security.gentoo.org/glsa/202312-14
- wrv.github.io/h26forge.pdf
- nvd.nist.gov/vuln/detail/CVE-2022-48434
- cve.org/CVERecord?id=CVE-2022-48434
More vulnerabilities in Ffmpeg products
CVE-2025-63757CVE-2025-25469CVE-2025-25468CVE-2025-22921CVE-2025-1594CVE-2025-1373CVE-2025-0518CVE-2024-55069All 474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.