Spring HATEOAS heap exhaustion through unbounded internal caching
High severity
GitHub Reviewed
Published
Jun 9, 2026
to the GitHub Advisory Database
•
Updated Jul 29, 2026
Package
Affected versions
>= 3.0.0, <= 3.0.3
>= 2.5.0, <= 2.5.2
>= 2.3.0, <= 2.3.4
<= 1.5.6
>= 2.4.0, <= 2.4.1
Patched versions
3.0.4
2.5.3
Description
Published by the National Vulnerability Database
Jun 9, 2026
Published to the GitHub Advisory Database
Jun 9, 2026
Reviewed
Jul 29, 2026
Last updated
Jul 29, 2026
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.
References