Apache Struts Fixes BigDecimal Amplification Flaw in 6.13.0 and 7.5.0

Apache Struts has patched a denial-of-service vulnerability, CVE-2026-133641, that allowed unauthenticated attackers to exhaust server resources by exploiting disproportionate expansion of BigDecimal request parameters. The flaw affected versions 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. Fixed versions 6.13.0 and 7.5.0 are now available, rendering large decimal values in scientific notation to prevent resource exhaustion.
Key points
- The vulnerability, classified as CWE-405 (Asymmetric Resource Consumption), allows an attacker to send a small request that causes the server to build a string many orders of magnitude larger, exhausting CPU and memory.
- The flaw occurs when request parameters are bound to java.math.BigDecimal properties and then rendered through the number tag or passed into localized messages, including validator error messages.
- Affected versions include Apache Struts 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. Versions 2.5.10.1 and earlier are not affected.
- The fix in versions 6.13.0 and 7.5.0 changes the rendering of decimal values with extremely large integer digits to scientific notation instead of full expansion.
- A temporary workaround involves registering an application-supplied type converter for java.math.BigDecimal that rejects values with excessive exponents, though this does not cover values received through the JSON plugin's request body.
Background
This disclosure follows previous Apache Struts vulnerabilities, including CVE-2026-133636, a cross-site request forgery flaw patched in the same 6.13.0 and 7.5.0 releases. The current issue is a follow-up to earlier vulnerabilities S2-076 and S2-084, which addressed similar BigDecimal rendering issues but did not cover the specific paths involving the number tag or localized messages. Apache Struts 7.5.1 GA was released on November 25, 2026, and Struts 6.13.0 GA was released on November 8, 2026, both including the fix for this vulnerability.
Why it matters
The vulnerability enables unauthenticated remote attackers to exhaust server CPU and memory, potentially causing denial of service for applications using affected Apache Struts versions. The fix prevents resource exhaustion by rendering large decimal values in scientific notation, reducing the risk of server overload from malicious requests.
What to watch
Users of affected Apache Struts versions should upgrade to 6.13.0 or 7.5.0 to mitigate the vulnerability. Organizations unable to upgrade immediately can apply a workaround by registering a type converter for java.math.BigDecimal that rejects values with excessive exponents, though this does not cover values received through the JSON plugin's request body.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar