CVE-2018-20196

NameCVE-2018-20196
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1899-1, DSA-4522-1, DSA-5109-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
faad2 (PTS)jessie, jessie (lts)2.7-8+deb8u4fixed
stretch (security), stretch (lts), stretch2.8.0~cvs20161113-1+deb9u3fixed
buster (security), buster, buster (lts)2.10.0-1~deb10u1fixed
bullseye2.10.0-1fixed
bookworm2.10.1-1fixed
sid, trixie2.11.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
faad2sourcewheezy(unfixed)end-of-life
faad2sourcejessie2.7-8+deb8u3DLA-1899-1
faad2sourcestretch2.8.0~cvs20161113-1+deb9u2DSA-4522-1
faad2sourcebuster2.10.0-1~deb10u1DSA-5109-1
faad2source(unstable)2.8.8-3.1low

Notes

https://github.com/knik0/faad2/issues/19
https://github.com/knik0/faad2/commit/6aeeaa1af0caf986daf22852a97f7c13c5edd879

Search for package or bug name: Reporting problems