CVE-2025-2240 Smallrye-fault-tolerance: smallrye fault tolerance

High 7.5 Published Updated

Attackers can cause denial of service by repeatedly calling the metrics URI, leading to memory exhaustion in Smallrye Fault Tolerance.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-2240?

CVE-2025-2240 is a high-severity denial of service vulnerability in Red Hat Build of Apache Camel 4.8 for Quarkus 3.15, published on 12 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in Smallrye, where smallrye-fault-tolerance is vulnerable to an out-of-memory (OOM) issue. This vulnerability is externally triggered when calling the metrics URI. Every call creates a new object within meterMap and may lead to a denial of service (DoS) issue.

Weakness: CWE-1325

Which versions are affected by CVE-2025-2240?

4 open source packages ship an affected version, including io.smallrye:smallrye-fault-tolerance-core.

PackageAffectedFixed in
io.smallrye:smallrye-fault-tolerance-core MavenFrom 6.3.06.4.2
io.smallrye:smallrye-fault-tolerance-core MavenFrom 6.3.06.4.2
io.smallrye:smallrye-fault-tolerance-core MavenFrom 6.5.06.9.0
io.smallrye:smallrye-fault-tolerance-core MavenFrom 6.5.06.9.0

How do I fix CVE-2025-2240?

Upgrade io.smallrye:smallrye-fault-tolerance-core to a fixed version for your release line: 6.4.2 or 6.9.0.

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-2025-2240 being exploited?

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

Sources

Also known as CLEANSTART-2026-IM74349, CLEANSTART-2026-ST40024, GHSA-gfh6-3pqw-x2j4.

Is CVE-2025-2240 in your software?

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

Check your SBOMs for free