Heap Buffer Overflow in fdkaac Package: CVE-2022-37781

fdkaac Updated 02 Oct 2025

Summary

16/08/2022
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2022-37781: fdkaac v1.0.3 was discovered to contain a heap buffer overflow via __interceptor_memcpy.part.46 at /sanitizer_common/sanitizer_common_interceptors.inc. Affects fdkaac versions < 1.0.6-0.1. Fixed in 1.0.6-0.1. 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

The fdkaac package is an open-source audio encoder that provides high-quality AAC encoding. It is widely used in various multimedia applications due to its efficiency and performance. However, versions prior to 1.0.6-0.1 are vulnerable to a heap buffer overflow, which can lead to potential security risks.

Vulnerability Detail

The vulnerability identified as CVE-2022-37781 is a heap buffer overflow found in fdkaac version 1.0.3. This issue arises from the improper handling of memory during the execution of the __interceptor_memcpy.part.46 function, which can allow an attacker to exploit the overflow, potentially leading to arbitrary code execution or application crashes. The vulnerability is classified as having unimportant urgency, but it still poses a risk to systems using the affected versions of the package.

How To Fix

Minimum fixed version

1.0.6-0.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade fdkaac

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

Workaround

As a temporary workaround, users can avoid using the affected version of fdkaac (1.0.3) and instead use an earlier version that does not have the vulnerability. However, this is not a long-term solution and updating to the patched version is strongly recommended.

Conclusion

The fdkaac package has a critical vulnerability (CVE-2022-37781) that can lead to serious security implications. Users are advised to update to the patched version to ensure their systems remain secure. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for fdkaac →

Share this vulnerability

FAQ

CVE-2022-37781 is a vulnerability in the fdkaac package that allows for a heap buffer overflow, potentially leading to security risks.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to arbitrary code execution or crashes in applications using the affected fdkaac package.

Yes, a patched version of the fdkaac package (1.0.6-0.1) is available, which resolves the vulnerability.

If immediate updates are not possible, consider using an earlier version of fdkaac that does not contain the vulnerability as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for fdkaac.

How To Fix

Minimum fixed version

1.0.6-0.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade fdkaac

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