CVE-2026-47891: Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder

Published Aug 27, 2026
·
Updated

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

Affected Software

6 affected components
Spring Spring Framework>7.0.0<=7.0.8
Spring Spring Framework>6.2.0<=6.2.19
Spring Spring Framework>6.1.0<=6.1.28
Spring Spring Framework>6.0.0<=6.0.30
Spring Spring Framework>5.3.0<=5.3.49
Spring Spring Framework<=5.2.25.RELEASE

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    If you are unable to upgrade immediately, mitigate the maxInMemorySize bypass by placing an external limit on request/response body sizes and/or XML payload sizes (e.g., via reverse proxy/WAF or network controls) so attackers cannot send arbitrarily large XML that the Jaxb2Decoder can parse into memory.

Event History

Aug 27, 2026
CVE Published
via MITRE·05:21 AM
Data Sourced
via MITRE·05:21 AM
DescriptionWeakness
Data Sourced
via NVD·06:17 AM
Description

Frequently Asked Questions

1

Is every Spring WebFlux application in the listed release ranges exposed?

The issue is described for Spring WebFlux applications that rely on the Aalto XML processor to parse XML input. The provided information does not identify applications that do not use Aalto for XML parsing as affected by this condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203