---
id: CVE-2025-2240
title: >-
  A flaw was found in Smallrye, where smallrye-fault-tolerance is vulnerable to
  an out-of-memory (OOM) issue
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-1325
published: '2025-03-12'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-2240'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:3376'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:3541'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:3543'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-2240'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2351452'
    label: secalert@redhat.com
  - url: 'https://github.com/advisories/GHSA-gfh6-3pqw-x2j4'
    label: secalert@redhat.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-2240.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-2240'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-2240'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.01234
epssPercentile: 0.68865
ingestedAt: '2026-08-04T09:39:29.957Z'
vendor: Red Hat
product: smallrye-fault-tolerance-core
affected:
  - smallrye-fault-tolerance-core >= 6.3.0 < 6.4.2
  - smallrye-fault-tolerance-core >= 6.5.0 < 6.9.0
  - smallrye-fault-tolerance-core
  - quarkus-camel-bom
  - quarkus-cxf-bom
  - smallrye-fault-tolerance-core
  - smallrye-fault-tolerance-core (all versions)
  - smallrye-fault-tolerance-core
  - smallrye-fault-tolerance-apiimpl
  - smallrye-fault-tolerance-core
  - smallrye-fault-tolerance-core (all versions)
  - smallrye-fault-tolerance-core (all versions)
  - smallrye-fault-tolerance-core
  - smallrye-fault-tolerance-core
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-03-12T15:08:58.646132Z'
patched:
  - build_of_apache_camel_4_8_for_quarkus 3.15
  - build_of_apache_camel_4_8_5_for_spring_boot
  - build_of_quarkus 3.15.4
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2025:3541** · Red Hat · fixed in: Red Hat Build of Apache Camel 4.8 for Quarkus 3.15 · released 2025-04-02 · [advisory](https://access.redhat.com/errata/RHSA-2025:3541)
- **RHSA-2025:3543** · Red Hat · fixed in: Red Hat build of Apache Camel 4.8.5 for Spring Boot · released 2025-04-02 · [advisory](https://access.redhat.com/errata/RHSA-2025:3543)
- **RHSA-2025:3376** · Red Hat · fixed in: Red Hat build of Quarkus 3.15.4 · released 2025-04-02 · [advisory](https://access.redhat.com/errata/RHSA-2025:3376)
- **Red Hat VEX** · Important · affected: Red Hat build of Apicurio Registry 2, Red Hat Fuse 7, Red Hat Integration Camel K 1, Red Hat JBoss Enterprise Application Platform 7 · no fix planned: Red Hat Fuse 7, Red Hat Integration Camel K 1, Red Hat JBoss Enterprise Application Platform 7, Red Hat build of Apicurio Registry 2 · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-2240.json)
