CVE-2025-2240 is a high-severity (CVSS 7.5) CWE-1325 vulnerability in io.smallrye:smallrye-fault-tolerance-core. A fix is available for io.smallrye:smallrye-fault-tolerance-core — see the affected versions and patch details below.
Smallrye-fault-tolerance: smallrye fault tolerance
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-2240.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
io.smallrye:smallrye-fault-tolerance-core☕io.smallrye:smallrye-fault-tolerance-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.smallrye:smallrye-fault-tolerance-core | ≥ 6.3.0&&< 6.4.2 | 6.4.2io.smallrye:smallrye-fault-tolerance-core:6.4.2 |
| ☕Maven | io.smallrye:smallrye-fault-tolerance-core | ≥ 6.5.0&&< 6.9.0 | 6.9.0io.smallrye:smallrye-fault-tolerance-core:6.9.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.smallrye:smallrye-fault-tolerance-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.smallrye:smallrye-fault-tolerance-core to 6.4.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-2240 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability allows a remote attacker to cause an out-of-memory issue when calling the metrics URI, resulting in a denial of service. As this flaw can be triggered via the network, it has been rated with an important severity.
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.Source: Red Hat security advisory for CVE-2025-2240 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat build of Apache Camel 4.8.5 for Spring Boot | smallrye-fault-tolerance-core | RHSA-2025:3543 |
| Red Hat Build of Apache Camel 4.8 for Quarkus 3.15 | quarkus-camel-bom | RHSA-2025:3541 |
| Red Hat build of Quarkus 3.15.4 | smallrye-fault-tolerance-core | RHSA-2025:3376 |
Frequently Asked Questions
Is CVE-2025-2240 in your dependencies?
Find it across Maven, including transitive dependencies.