Division by zero in Libav - CVE-2016-7499
Published: February 15, 2017 / Updated: August 8, 2020
Libav
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to divide-by-zero error within The sbr_make_f_master function in aacsbr.c in Libav 11.7. A remote attacker can perform a denial of service (divide-by-zero error and application crash) via a crafted mp3 file.
How to mitigate CVE-2016-7499
Sources
- http://www.openwall.com/lists/oss-security/2016/09/21/9
- http://www.securityfocus.com/bid/93102
- https://blogs.gentoo.org/ago/2016/09/21/libav-divide-by-zero-in-sbr_make_f_master-aacsbr-c/
- https://git.libav.org/?p=libav.git;a=blobdiff;f=libavcodec/aacsbr.c;h=7d156e525b40b197c38db17acf16730845b91e56;hp=dbfb1677813ce6c531e4362d0be7ccf9fdfdd28e;hb=a50a5ff29ec5a8243499769e2bb9b5509ce9fd52;hpb=f55e3ff5891daf3d538b4d9176371960200d68fa