Invalid Memory Address Dereference in Freeware Advanced Audio Decoder 2 (FAAD2)

faad2 Updated 02 Oct 2025

Summary

22/12/2018
N/A
Yes i
Medium
5.5

CVE-2018-20359: An invalid memory address dereference was discovered in the sbrDecodeSingleFramePS function of libfaad/sbr_dec.c in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. Affects faad2 across 2 version ranges.

< 2.9.0-r0 < 334e7647a5f31903aca33dde39bb8683e9d8cccd

Fixed in 2.9.0-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Freeware Advanced Audio Decoder 2 (FAAD2) is an open-source audio decoder library that allows decoding of various audio formats. It is widely used in applications that require audio playback and processing. However, a vulnerability has been discovered in FAAD2 that can lead to a denial of service (DoS) attack.

Vulnerability Detail

The vulnerability, identified as CVE-2018-20359, is caused by an invalid memory address dereference in the sbrDecodeSingleFramePS function of libfaad/sbr_dec.c. This vulnerability can be exploited to trigger a segmentation fault and crash the application, resulting in a DoS condition. An attacker can potentially exploit this vulnerability to disrupt the functionality of applications that rely on FAAD2 for audio decoding.

How To Fix

Minimum fixed version

2.9.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade faad2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update FAAD2 to the fixed version to mitigate the risk of exploitation.

Conclusion

The invalid memory address dereference vulnerability in FAAD2 can lead to a denial of service (DoS) attack. It is crucial for users to update their FAAD2 installation to version 2.9.0-r0 or later to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for faad2 →

Share this vulnerability

FAQ

This vulnerability can lead to a denial of service (DoS) attack, causing the affected application to crash and become unresponsive.

Yes, an attacker can exploit this vulnerability remotely by sending a specially crafted audio file to the targeted application.

Yes, all versions of FAAD2 prior to 2.9.0-r0 are affected by this vulnerability.

There is no known public exploit for this vulnerability at the time of this report.

There is no evidence of active exploitation of this vulnerability at the time of this report.

Related vulnerabilities

Recent vulnerabilities recorded for faad2.

How To Fix

Minimum fixed version

2.9.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade faad2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback