Index-out-of-bounds in iaace_calc_sfb_dist in libxaac

libxaac Updated 02 Oct 2025

Summary

18/11/2023
MEDIUM
Yes i
Medium
Not published

OSV-2023-1179: Index-out-of-bounds in iaace_calc_sfb_dist. Affects libxaac versions >= 695799b8b696425a0c1afbc829a4b8da3bdd315e, < 9b18e51b8af534af96557fd665497e948d494178. Fixed in 9b18e51b8af534af96557fd665497e948d494178. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libxaac is an open-source library that provides encoding and decoding functionality for the Advanced Audio Coding (AAC) format. It is widely used in various applications for audio processing. However, a vulnerability has been discovered in the library that can lead to an index-out-of-bounds error.

Vulnerability Detail

The vulnerability in libxaac occurs in the function iaace_calc_sfb_dist. This function is responsible for calculating the signal-to-noise ratio (SNR) for each scale factor band (SFB) in the audio data. Due to a coding error, an index-out-of-bounds condition can occur, leading to a crash. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition.

How To Fix

Minimum fixed version

9b18e51b8af534af96557fd665497e948d494178

This is the first release that contains the fix.

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

Workaround

If updating libxaac is not immediately feasible, a possible workaround is to implement input validation checks to ensure that the audio data does not trigger the index-out-of-bounds condition. This can be done by verifying the size of the input data and ensuring that it falls within the expected range.

Conclusion

In conclusion, libxaac is vulnerable to an index-out-of-bounds error in the iaace_calc_sfb_dist function. This vulnerability can be mitigated by updating to the latest version of libxaac or implementing input validation checks. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for libxaac →

Share this vulnerability

FAQ

libxaac is an open-source library for encoding and decoding Advanced Audio Coding (AAC) format audio data. It is commonly used in applications that require audio processing.

An index-out-of-bounds error occurs when a program tries to access an element of an array or a collection using an index that is outside the valid range. In this case, it leads to a crash in the iaace_calc_sfb_dist function.

This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. It is important to update libxaac to prevent any potential security risks.

To update libxaac, you can fetch the latest version from the GitHub repository (https://github.com/ittiam-systems/libxaac) and follow the installation instructions provided. Make sure to use a version that includes the fix for the index-out-of-bounds vulnerability.

If updating libxaac immediately is not feasible, you can implement input validation checks in your application to prevent triggering the index-out-of-bounds condition. Ensure that the size of the input audio data is within the expected range.

Related vulnerabilities

Recent vulnerabilities recorded for libxaac.

How To Fix

Minimum fixed version

9b18e51b8af534af96557fd665497e948d494178

This is the first release that contains the fix.

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