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.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/knik0/faad2/issues/21 | third party advisory exploit |
https://lists.debian.org/debian-lts-announce/2019/05/msg00022.html | mailing list |
https://www.debian.org/security/2019/dsa-4522 | vendor advisory |
https://seclists.org/bugtraq/2019/Sep/28 | mailing list |
https://security.gentoo.org/glsa/202006-17 | vendor advisory |