There is a stack-based buffer underflow in the third instance of the calculate_gain function in libfaad/sbr_hfadj.c in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. A crafted input will lead to a denial of service or possibly unspecified other impact because limiting the additional noise energy level is mishandled for the G_max > G case.
https://www.debian.org/security/2019/dsa-4522
https://security.gentoo.org/glsa/202006-17
https://seclists.org/bugtraq/2019/Sep/28
https://lists.debian.org/debian-lts-announce/2019/05/msg00022.html