{"id":"ALPINE-CVE-2018-20196","details":"There is a stack-based buffer overflow 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 the S_M array is mishandled.","modified":"2026-03-09T01:12:46.769371Z","published":"2018-12-18T01:29:00.377Z","upstream":["CVE-2018-20196"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-20196"}],"affected":[{"package":{"name":"faad2","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/faad2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-r0"}]}],"versions":["2.7-r0","2.7-r1","2.7-r2","2.7-r3","2.7-r4","2.7-r5","2.7-r6","2.7-r7","2.7-r8","2.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-20196.json"}},{"package":{"name":"faad2","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/faad2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-r0"}]}],"versions":["2.7-r0","2.7-r1","2.7-r2","2.7-r3","2.7-r4","2.7-r5","2.7-r6","2.7-r7","2.7-r8","2.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-20196.json"}},{"package":{"name":"faad2","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/faad2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-r0"}]}],"versions":["2.7-r0","2.7-r1","2.7-r2","2.7-r3","2.7-r4","2.7-r5","2.7-r6","2.7-r7"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-20196.json"}},{"package":{"name":"faad2","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/faad2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-r0"}]}],"versions":["2.7-r0","2.7-r1","2.7-r2","2.7-r3","2.7-r4","2.7-r5","2.7-r6","2.7-r7","2.7-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-20196.json"}},{"package":{"name":"faad2","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/faad2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-r0"}]}],"versions":["2.7-r0","2.7-r1","2.7-r2","2.7-r3","2.7-r4","2.7-r5","2.7-r6","2.7-r7","2.7-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-20196.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}