{"id":"UBUNTU-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":"2025-09-08T16:45:06Z","published":"2018-12-18T01:29:00Z","upstream":["CVE-2018-20196"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20196"},{"type":"REPORT","url":"https://github.com/knik0/faad2/issues/19"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20196"}],"affected":[{"package":{"name":"faad2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/faad2@2.7-8+deb8u3build0.14.04.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-8+deb8u3build0.14.04.1~esm1"}]}],"versions":["2.7-8","2.7-8+deb7u1build0.14.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"faad","binary_version":"2.7-8+deb8u3build0.14.04.1~esm1"},{"binary_name":"libfaad-dev","binary_version":"2.7-8+deb8u3build0.14.04.1~esm1"},{"binary_name":"libfaad2","binary_version":"2.7-8+deb8u3build0.14.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20196.json"}},{"package":{"name":"faad2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/faad2@2.8.0~cvs20150510-1ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.0~cvs20150510-1","2.8.0~cvs20150510-1ubuntu0.1","2.8.0~cvs20150510-1ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"faad","binary_version":"2.8.0~cvs20150510-1ubuntu0.1+esm1"},{"binary_name":"libfaad-dev","binary_version":"2.8.0~cvs20150510-1ubuntu0.1+esm1"},{"binary_name":"libfaad2","binary_version":"2.8.0~cvs20150510-1ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20196.json"}},{"package":{"name":"faad2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/faad2@2.8.8-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1-2","2.8.5-1","2.8.6-1","2.8.8-1","2.8.8-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"faad","binary_version":"2.8.8-1ubuntu0.1~esm1"},{"binary_name":"libfaad-dev","binary_version":"2.8.8-1ubuntu0.1~esm1"},{"binary_name":"libfaad2","binary_version":"2.8.8-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}