Security Exception in Maven Model Package: Vulnerability in Arrays.copyOfRange

maven-model Updated 21 Feb 2026

Summary

01/02/2026
LOW
No i
Low
Not published

OSV-2025-1068: Security exception in java.base/java.util.Arrays.copyOfRange. Affects maven-model versions >= cf438ca624737c8aab82fcbb8798cf17e98a0837. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Maven Model package is a core component of the Apache Maven project, which is a widely used build automation tool for Java projects. It provides a comprehensive model for project management, including dependencies, plugins, and build configurations. This package is essential for developers to manage their project lifecycles effectively. However, it has been found to be vulnerable to a security exception that can be exploited under certain conditions.

Vulnerability Detail

The vulnerability arises from a security exception in the java.base/java.util.Arrays.copyOfRange method, which can lead to crashes when improperly handled. This issue was reported by OSS-Fuzz and is associated with specific calls to the StringLatin1.newString and StringBuilder.toString methods. If exploited, this vulnerability could result in application crashes, potentially leading to denial of service or other security risks.

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 a temporary workaround, developers can avoid using the affected methods or implement additional error handling to prevent crashes. For instance, ensure that inputs to the Arrays.copyOfRange method are validated before use, and consider using alternative methods for string manipulation that do not invoke the vulnerable code.

Conclusion

The security exception in the Maven Model package poses a significant risk to applications relying on this component. It is crucial for developers to address this vulnerability promptly by updating to the latest patched version or implementing workarounds to mitigate potential impacts.

See every vulnerability recorded for maven-model →

Share this vulnerability

FAQ

The vulnerability is a security exception in the Arrays.copyOfRange method that can lead to application crashes.

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

Yes, a patched version of the Maven Model package is available. It is recommended to update to the latest version.

Exploitation of this vulnerability can lead to application crashes, resulting in denial of service and potential security risks.

If immediate updates are not possible, implement error handling and avoid using the affected methods as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for maven-model.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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