CVE-2026-41007

Spring HATEOAS heap exhaustion through unbounded internal caching

Published Jun 9, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Spring HATEOAS maintains an unbounded static cache of StringLinkRelation instances keyed on attacker-supplied strings.

Affected versions:
Spring HATEOAS 1.5.0 through 1.5.6; 2.3.0 through 2.3.4; 2.4.0 through 2.4.1; 2.5.0 through 2.5.2; 3.0.0 through 3.0.3.

Analysis

AI-generated

Technical impact

Spring HATEOAS uses an unbounded static cache for StringLinkRelation objects. The cache grows without limit when it receives attacker-supplied relation strings. This behavior can consume a large portion of heap memory, leading to application crashes or slowdown and effectively disrupting service availability. The weakness is documented as CWE-770.

Affected Systems

Vulnerable releases include Spring HATEOAS 1.5.0 through 1.5.6, 2.3.0 through 2.3.4, 2.4.0 through 2.4.1, 2.5.0 through 2.5.2, and 3.0.0 through 3.0.3.

Risk and Exploitability

The CVSS score of 7.5 denotes high severity. EPSS is not available, so no exploitation probability is provided, and the vulnerability is not listed in CISA KEV. The likely attack vector is via HTTP requests that introduce many unique link relations. An attacker able to invoke the library can trigger unrestricted memory growth, resulting in denial of service. No active exploitation reports are known at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring HATEOAS to a non‑vulnerable version if available.
  • If an upgrade cannot be performed immediately, adjust the application configuration to limit the size of the link‑relation cache or disable caching of StringLinkRelation instances, if a configuration option exists.
  • Monitor application memory usage and throttle or block suspicious traffic that attempts to supply a large number of distinct relation strings.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-439x-6767-44cv Spring HATEOAS heap exhaustion through unbounded internal caching
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Hateoas
CPEs cpe:2.3:a:vmware:spring_hateoas:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Hateoas
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 Hateoas
Vendors & Products Spring
Spring spring Hateoas
Type Values Removed Values Added
Description Spring HATEOAS maintains an unbounded static cache of StringLinkRelation instances keyed on attacker-supplied strings. Affected versions: Spring HATEOAS 1.5.0 through 1.5.6; 2.3.0 through 2.3.4; 2.4.0 through 2.4.1; 2.5.0 through 2.5.2; 3.0.0 through 3.0.3.
Title Spring HATEOAS heap exhaustion through unbounded internal caching
Weaknesses CWE-770
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

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