Potential Stack Overflow Vulnerability in libapfloat-java Package

libapfloat-java Updated 03 Oct 2025

Summary

08/04/2024
N/A
No i
Unrated
Not published

UBUNTU-CVE-2024-23086: DISPUTED Apfloat v1.10.1 was discovered to contain a stack overflow via the component org.apfloat.internal.DoubleModMath::modPow(double. Affects libapfloat-java versions 1.10.1-1 – 1.9.1-3. No fix is published. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libapfloat-java is a Java library designed for arbitrary precision arithmetic, allowing developers to perform calculations with a high degree of accuracy. It is commonly used in applications that require mathematical computations beyond standard floating-point precision. The library's functionality is critical for applications in scientific computing, financial calculations, and other domains where precision is paramount. However, like any software, it is susceptible to vulnerabilities that can compromise its integrity and the security of applications that depend on it.

Vulnerability Detail

The vulnerability identified as UBUNTU-CVE-2024-23086 pertains to a potential stack overflow in the libapfloat-java package, specifically within the method org.apfloat.internal.DoubleModMath::modPow(double). This issue was discovered in version 1.10.1 of the library. A stack overflow can lead to application crashes, data corruption, or even arbitrary code execution in severe cases. However, it is important to note that this vulnerability is disputed by several third parties who argue that there is insufficient evidence to confirm its existence, suggesting that the assessment may have relied on tools that are not robust enough for accurate vulnerability identification.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As the vulnerability is disputed, there are no specific workarounds provided. However, users can mitigate potential risks by limiting the use of the affected method or by employing alternative libraries for arbitrary precision arithmetic until the situation is clarified.

Conclusion

The libapfloat-java package has been identified with a potential stack overflow vulnerability, which is currently disputed by experts. Users are advised to stay informed about updates and consider using tools like Vulert to monitor their applications for vulnerabilities. Regular updates and careful management of dependencies are essential for maintaining software security.

See every vulnerability recorded for libapfloat-java →

Share this vulnerability

FAQ

The vulnerability is a potential stack overflow in the modPow method, which could lead to application crashes or security issues.

While there is no confirmed patch specifically addressing this vulnerability, users are encouraged to update to the latest version of libapfloat-java.

You can use Vulert, which monitors open-source vulnerabilities in real-time. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

If an immediate update is not possible, consider limiting the use of the affected method or exploring alternative libraries until the vulnerability is resolved.

Detailed information can be found in the Ubuntu security notices and on the official GitHub repository for Ubuntu security notices.

Related vulnerabilities

Recent vulnerabilities recorded for libapfloat-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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