CVE-2026-47885

Description

A flaw was found in Spring WebFlux. The PartEventHttpMessageReader in Spring WebFlux does not enforce the maxPartSize limit when maxInMemorySize is set to -1. This oversight could allow a remote attacker to send excessively large multipart requests, potentially leading to resource exhaustion and a Denial of Service (DoS) condition.

Statement

This Important denial-of-service flaw in Spring WebFlux, as utilized in Red Hat JBoss Fuse, arises when the maxInMemorySize property is set to an unlimited value. This configuration prevents the maxPartSize limit from being enforced, allowing an attacker to send oversized multipart requests that can exhaust application memory resources.

Mitigation

To prevent potential denial-of-service, configure the `maxInMemorySize` property in Spring WebFlux to a specific, positive integer value. This ensures that the `maxPartSize` limit is respected, thereby restricting the memory allocated for multipart requests. Refer to the Spring WebFlux documentation for guidance on applying this configuration within your environment. A restart of the application may be necessary for the updated configuration to take effect.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.5N/A7.5
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.

Frequently Asked Questions

Want to get errata notifications? Sign up here.