Out-of-memory in IndexSearchFuzzer - Lucene

lucene Updated 02 Oct 2025

Summary

06/10/2023
LOW
Yes i
Low
Not published

OSV-2023-971: Out-of-memory in IndexSearchFuzzer. Affects lucene versions >= c4694c31fde068119445ba6ed5587cfbf2170218, < 2474940bffe6118ed31ceb717fd49705d819e1fc. Fixed in 2474940bffe6118ed31ceb717fd49705d819e1fc. 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

Lucene is an open-source search library written in Java. It provides indexing and searching capabilities for various applications. Lucene is widely used in many software projects to enable efficient and accurate search functionality.

Vulnerability Detail

The vulnerability identified in Lucene is an out-of-memory issue in the IndexSearchFuzzer component. This vulnerability can be triggered when the fuzzer exhausts the available memory resources, leading to a crash. The specific crash state occurs within the IndexSearchFuzzer module. The impact of this vulnerability can result in denial of service (DoS) as the application becomes unresponsive or crashes due to memory exhaustion.

How To Fix

Minimum fixed version

2474940bffe6118ed31ceb717fd49705d819e1fc

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

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

Conclusion

The out-of-memory vulnerability in Lucene's IndexSearchFuzzer component can lead to a denial of service (DoS) situation. To mitigate this risk, it is crucial to update the Lucene package to a version that includes the fix. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for lucene →

Share this vulnerability

FAQ

Lucene is an open-source search library written in Java that provides indexing and searching capabilities for various applications.

The vulnerability can lead to a denial of service (DoS) as the application becomes unresponsive or crashes due to memory exhaustion.

To fix this vulnerability, update the Lucene package to a version that includes the fix (commit 2474940bffe6118ed31ceb717fd49705d819e1fc or later).

No, there is no known workaround for this vulnerability. Updating to a fixed version is necessary.

You can find more information about this vulnerability in the OSS-Fuzz report: [link to the report].

Related vulnerabilities

Recent vulnerabilities recorded for lucene.

How To Fix

Minimum fixed version

2474940bffe6118ed31ceb717fd49705d819e1fc

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