CVE-2026-41851

Spring Framework Denial of Service via Unbounded Cache in SpEL

Published Jun 9, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Applications which accept user-supplied Spring Expression Language (SpEL) expressions may be vulnerable to a Denial of Service (DoS) attack if the evaluation of a SpEL expression triggers unbounded cache growth.

Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Analysis

AI-generated

Technical impact

Applications that accept user-supplied Spring Expression Language (SpEL) expressions can be exposed to a denial‑of‑service condition when an evaluated expression induces unbounded growth in an internal cache. This memory exhaustion can cause the application to become slow or crash, disrupting availability for legitimate users. The weakness is a classic unbounded memory growth issue, identified as CWE‑770.

Affected Systems

Spring Framework is affected. The vulnerable releases include Spring Framework 7.0.0 through 7.0.7, 6.2.0 through 6.2.18, 6.1.0 through 6.1.27, and 5.3.0 through 5.3.48.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity vulnerability. No EPSS data are available, and the vulnerability has not been listed in CISA’s KEV catalog. The likely attack vector is remote, via injection of crafted SpEL expressions provided by an external user or attacker. Exploitation requires that the application evaluate such expressions at run time, making the risk directly tied to the use of SpEL in the code base.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring Framework to the latest released version that fixes the cache growth issue (7.0.8 or later, 6.2.19 or later, 6.1.28 or later, or 5.3.49 or later).
  • If an immediate upgrade is not feasible, configure the application to limit the size of the SpEL evaluation cache or monitor memory usage to detect and mitigate abnormal growth.
  • Disable or remove unnecessary SpEL expression evaluation if the application does not require it; alternatively, sanitize and validate input expressions to reduce the risk of executing arbitrary SpEL code.

Generated by OpenCVE AI on June 9, 2026 at 05:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wxpp-56q6-5pcg Spring Framework Denial of Service via Unbounded Cache in SpEL
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Framework
CPEs cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Framework
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Framework
Vendors & Products Spring
Spring spring Framework
Type Values Removed Values Added
Description Applications which accept user-supplied Spring Expression Language (SpEL) expressions may be vulnerable to a Denial of Service (DoS) attack if the evaluation of a SpEL expression triggers unbounded cache growth. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Title Spring Framework Denial of Service via Unbounded Cache in SpEL
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 27, 2026, 9:03 PM
Reserved
Apr 22, 2026, 6:22 AM
Status
Analyzed
Published
Jun 9, 2026, 5:16 AM
Modified
Jul 23, 2026, 8:10 AM