Out-of-bounds Write Affecting knik0/faad2 package, versions [,2.9.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.32% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-KNIK0FAAD2-15674530
  • published18 Mar 2026
  • disclosed18 Dec 2018
  • creditUnknown

Introduced: 18 Dec 2018

CVE-2018-20194  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade knik0/faad2 to version 2.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References

CVSS Base Scores

version 3.1