Back

HIGH

Apache Struts: Unbounded growth of localized-text caches driven by the request locale

Published Aug 15, 2026

Description

Allocation of resources without limits or throttling vulnerability in Apache Struts. When no fixed locale is configured, the locale used for localized-text lookups is taken from the incoming request, allowing an unauthenticated remote client to cause the framework's internal localized-text caches to grow without bound and exhaust the Java heap, denying service to other users. Applications that configure a fixed locale are not affected.

This issue affects Apache Struts: from 2.0.0 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.10.0, from 7.0.0 through 7.2.1.

Users are recommended to upgrade to version 6.11.0 or 7.3.0, which fixes the issue.

Affected products

Remediation

Red Hat statement

An uncontrolled resource consumption flaw exists in the Apache Struts localized-text lookup caching mechanism. When no fixed application locale is configured, incoming HTTP request headers dynamically set the lookup locale, allowing the internal text cache to grow without bound. An unauthenticated remote attacker can exploit this by streaming requests with arbitrary, unique locale parameters, exhausting JVM heap space and causing a denial of service. The impact is limited to process availability.

Red Hat mitigation

Configure a fixed default locale in `struts.xml` by setting the `struts.locale` property (e.g., `<constant name="struts.locale" value="en_US" />`). Alternatively, configure an API gateway or web application firewall (WAF) to sanitize or strip non-standard `Accept-Language` headers before forwarding traffic to the application.

Metrics

References (5)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner apache
Published Aug 15, 2026
Updated Aug 17, 2026
Reserved Aug 13, 2026
CISA Vulnrichment
Updated Aug 17, 2026
NVD
Status Analyzed
Modified Aug 18, 2026
Red Hat
Severity Important
Public date Aug 15, 2026