Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2026-47891: Spring Framework may let oversized XML bypass memory limit

CVE-2026-47891 · published 7 days ago
Summary

Web applications built with Spring that use the Aalto XML parser can accept XML data larger than the intended in‑memory size limit. This can cause the program to consume more memory than planned, potentially leading to slower performance or crashes. Upgrade Spring to a version that fixes the check or switch to a different XML parser to enforce size limits.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Ubuntu:Pro:18.04:LTS canonical libspring-java All versions
Ubuntu:Pro:20.04:LTS canonical libspring-java All versions
Ubuntu:Pro:22.04:LTS canonical libspring-java All versions
Ubuntu:Pro:24.04:LTS canonical libspring-java All versions
Ubuntu:26.04:LTS canonical libspring-java All versions
spring spring framework <= 7.0.8
Ubuntu:Pro:14.04:LTS canonical libspring-java All versions
Ubuntu:Pro:16.04:LTS canonical libspring-java All versions
Original advisory text
A Spring WebFlux application that relies on the Aalto XML processor to parse XML input does not correctly enforce the maxInMemorySize limit. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - ...
A Spring WebFlux application that relies on the Aalto XML processor to parse XML input does not correctly enforce the maxInMemorySize limit.
Spring Framework 7.0.0 - 7.0.8
Spring Framework 6.2.0 - 6.2.19
Spring Framework 6.1.0 - 6.1.28
Spring Framework 6.0.0 - 6.0.30
Spring Framework 5.3.0 - 5.3.49
Spring Framework 5.2.25.RELEASE and earlier
Severity
9.8 Critical
CVSS 3.1: 9.8 (OSV)
Exploitation
EPSS <1%
Type
CWE-770Allocation of Resources Without Limits
Timeline
Published27 Aug 2026
Updated2 Sep 2026
First seen27 Aug 2026
Sources
CVE-2026-47891 · MITRE
Monitor software like this
Free during beta