CVE-2018-20196
There is a stack-based buffer overflow in the third instance of the calculate_gain function in...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2018-20196- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-20196- Updated
- 2026-11-02
EUVDEUVD-2018-12763 No score
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.
- Record
EUVD-2018-12763- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7mr6-hmwx-3gvw
7.8
There is a stack-based buffer overflow in the third instance of the calculate_gain function in...
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.
- Record
GHSA-7mr6-hmwx-3gvw- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-20196
7.8
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.
- Record
ALPINE-CVE-2018-20196- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
7.8
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.
- Record
CVE-2018-20196- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-20196
7.8
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.
- Record
DEBIAN-CVE-2018-20196- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-20196
7.8
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.
- Record
UBUNTU-CVE-2018-20196- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15214-1 No score
faad2-2.11.2-2.1 on GA media
These are all security issues fixed in the faad2-2.11.2-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15214-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
faad2Alpine:v3.10 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.11 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.12 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.13 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.14 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.15 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.16 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.17 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.18 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.19 |
before 2.9.0-r0 | 2.9.0-r0 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
faad2Alpine:v3.20 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.21 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.22 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.23 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.24 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.7 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.8 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Alpine:v3.9 |
before 2.9.0-r0 | 2.9.0-r0 |
faad2Debian:12 |
before 2.8.8-3.1 | 2.8.8-3.1 |
faad2Debian:13 |
before 2.8.8-3.1 | 2.8.8-3.1 |
faad2Debian:14 |
before 2.8.8-3.1 | 2.8.8-3.1 |
faad2Debian:8 |
before 2.7-8+deb8u3, plus listed versions 2.7-82.7-8+deb8u12.7-8+deb8u2 |
2.7-8+deb8u3 |
faad2Debian:9 |
before 2.8.0~cvs20161113-1+deb9u2, plus listed versions 2.8.0~cvs20161113-12.8.0~cvs20161113-1+deb9u1 |
2.8.0~cvs20161113-1+deb9u2 |
faad2Debian:10 |
before 2.10.0-1~deb10u1, plus listed versions 2.8.8-32.8.8-3+deb10u12.8.8-3.12.8.8-3.22.9.0-12.9.1-12.9.2-1 |
2.10.0-1~deb10u1 |
faad2Ubuntu:Pro:14.04:LTS |
before 2.7-8+deb8u3build0.14.04.1~esm1, plus listed versions 2.7-82.7-8+deb7u1build0.14.04.1 |
2.7-8+deb8u3build0.14.04.1~esm1 |
faad2Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.8.0~cvs20150510-12.8.0~cvs20150510-1ubuntu0.12.8.0~cvs20150510-1ubuntu0.1+esm1 |
None known |
faad2Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.8.1-22.8.5-12.8.6-12.8.8-12.8.8-1ubuntu0.1~esm1 |
None known |
faad2openSUSE:Tumbleweed |
before 2.11.2-2.1 | 2.11.2-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-20196 is a high vulnerability (CVSS 7.8) in Audiocoding Freeware Advanced Audio Decoder 2, published December 18, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.28%, the 70th percentile. Fixed in faad2 2.9.0-r0.
References
github.com/knik0/faad2/issues/19
lists.debian.org/debian-lts-announce/2019/08/msg00033.html
security.gentoo.org/glsa/202006-17
debian.org/security/2022/dsa-5109
nvd.nist.gov/vuln/detail/CVE-2018-20196
github.com/advisories/GHSA-7mr6-hmwx-3gvw
Show 12 moreShow less
security.alpinelinux.org/vuln/CVE-2018-20196
security-tracker.debian.org/tracker/CVE-2018-20196
ubuntu.com/security/CVE-2018-20196
cve.org/CVERecord?id=CVE-2018-20196
suse.com/security/cve/CVE-2018-20194
suse.com/security/cve/CVE-2018-20196
suse.com/security/cve/CVE-2018-20199
suse.com/security/cve/CVE-2018-20358
suse.com/security/cve/CVE-2018-20359
suse.com/security/cve/CVE-2018-20362
suse.com/security/cve/CVE-2019-15296
suse.com/security/cve/CVE-2019-6956