Vulnerabilities · 2024 · Ffmpeg
CVE-2024-31581
Ffmpeg vulnerability
FFmpeg version n6.1 was discovered to contain an improper validation of array index vulnerability in libavcodec/cbs_h266_syntax_template.c. This vulnerability allows attackers to cause undefined behavior within the application.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ffmpeg, Fedora. 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
- github.com/ffmpeg/ffmpeg/commit/ce0c178a408d43e71085c28a47d50dc939b60196 · Patch
- gist.github.com/1047524396/a7e9273e12553775826784035333cdd8 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L · Third Party Advisory
- github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavcodec/cbs_h266_syntax_template.c#L2048
- lists.fedoraproject.org/archives/list/[email protected]/message/6G7
- lists.fedoraproject.org/archives/list/[email protected]/message/LE3
- nvd.nist.gov/vuln/detail/CVE-2024-31581
- cve.org/CVERecord?id=CVE-2024-31581
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.