CVE-2024-6875 Infinispan: infinispan: rest compare api has buffer leak

Medium 6.5 Published Updated

Attackers can cause denial of service in Infinispan REST API by sending large POST requests, leading to buffer leaks and out-of-memory errors.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-6875?

CVE-2024-6875 is a medium-severity denial of service vulnerability in Red Hat Data Grid 8, published on 28 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in the Infinispan component in Red Hat Data Grid. The REST compare API may have a buffer leak and an out of memory error can occur when sending continual requests with large POST data to the REST API.

Weakness: CWE-401

Which versions are affected by CVE-2024-6875?

4 open source packages ship an affected version, including org.infinispan:infinispan-query.

PackageAffectedFixed in
org.infinispan:infinispan-query MavenAll versionsNone
org.infinispan:infinispan-query MavenAll versionsNone
org.infinispan:infinispan-query MavenAll versions to 15.0.5.FinalNone
org.infinispan:infinispan-query MavenAll versions to 15.0.5.FinalNone

How do I fix CVE-2024-6875?

No fix has been published for CVE-2024-6875 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-6875 being exploited?

There is no known exploitation of CVE-2024-6875 in the wild and no public exploit code.

Sources

Also known as GHSA-2q39-w2hw-2pjm.

Is CVE-2024-6875 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free