CVE-2018-20197
There is a stack-based buffer underflow in the third instance of the calculate_gain function in...
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.
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 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.
- Record
CVE-2018-20197- CVSS 3.0
- 7.8 High
CVSS:3.0/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 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.
- Record
CVE-2018-20197- Updated
- 2026-11-02
EUVDEUVD-2018-12764 No score
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.
- Record
EUVD-2018-12764- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4w78-j3c6-p6j6
7.8
There is a stack-based buffer underflow in the third instance of the calculate_gain function in...
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.
- Record
GHSA-4w78-j3c6-p6j6- CVSS 3.0
- 7.8 High
CVSS:3.0/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-20197
7.8
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.
- Record
ALPINE-CVE-2018-20197- CVSS 3.0
- 7.8 High
CVSS:3.0/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 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.
- Record
CVE-2018-20197- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-20197
7.8
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.
- Record
DEBIAN-CVE-2018-20197- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-20197
7.8
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.
- Record
UBUNTU-CVE-2018-20197- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - 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 16 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-2 | 2.8.8-2 |
faad2Debian:13 |
before 2.8.8-2 | 2.8.8-2 |
faad2Debian:14 |
before 2.8.8-2 | 2.8.8-2 |
faad2Debian:8 |
before 2.7-8+deb8u2, plus listed versions 2.7-82.7-8+deb8u1 |
2.7-8+deb8u2 |
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 |
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 |
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-20197 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.32%, the 70th percentile. Fixed in faad2 2.9.0-r0.