Every CVE Search/ Get API key

CVE-2018-20197

There is a stack-based buffer underflow in the third instance of the calculate_gain function in...

7.8 HighFix available

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

1.32%Down 0.2 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
faad2
Alpine:v3.10
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.11
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.12
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.13
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.14
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.15
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.16
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.17
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.18
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.19
before 2.9.0-r0
2.9.0-r0
Show 16 moreShow less
Affected packages
PackageAffectedFixed
faad2
Alpine:v3.20
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.21
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.22
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.23
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.24
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.7
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.8
before 2.9.0-r0
2.9.0-r0
faad2
Alpine:v3.9
before 2.9.0-r0
2.9.0-r0
faad2
Debian:12
before 2.8.8-2
2.8.8-2
faad2
Debian:13
before 2.8.8-2
2.8.8-2
faad2
Debian:14
before 2.8.8-2
2.8.8-2
faad2
Debian:8
before 2.7-8+deb8u2, plus listed versions
2.7-82.7-8+deb8u1
2.7-8+deb8u2
faad2
Debian: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
faad2
Ubuntu: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
faad2
Ubuntu: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
faad2
Ubuntu: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

History
RecordedChangedSources
affectedOSV
aliasesEUVD
first indexedCVE 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.

References

Show 5 moreShow less
MoveEnter Open