Apache Struts flaw in BigDecimal handling lets unauthenticated users drive up server CPU and memory use
According to the oss-security list, Apache has published an advisory for a moderate-severity resource amplification flaw in Struts, tracked as CVE-2026-133641 and bulletin S2-085. Patched releases are 6.13.0 and 7.5.0.
ApacheWebVulnerabilitiesKey points
- CVE-2026-133641 is a moderate-severity resource amplification flaw in Apache Struts, tracked as S2-085.
- Request parameters bound to BigDecimal properties can produce server-side strings far larger than the input.
- The advisory says an unauthenticated remote attacker could exhaust server CPU and memory.
- Fixed releases are Struts 6.13.0 and 7.5.0; affected branches are 2.5.12 to 2.5.33, 6.0.0 to 6.12.0, and 7.0.0 to 7.4.0.
According to the oss-security mailing list, Apache has published an advisory for Apache Struts describing a resource amplification flaw tracked as CVE-2026-133641 under bulletin S2-085. The issue is rated moderate severity and was credited to Arun Manni.
The weakness involves request parameters bound to java.math.BigDecimal properties that are later output by the number tag or placed in localized text, such as validator error messages. Per the advisory, the server can build a string far larger than the request that triggered it, in some cases by many orders of magnitude. That string is produced on the server even when it is never sent back to the client. The advisory says an unauthenticated remote attacker could exhaust server CPU and memory.
Affected versions are Struts 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. Applications that never map request input onto BigDecimal fields, or that do not use the number tag and do not route such values into localized text, are described as unaffected, as are properties of other numeric types. The fix is available in Struts 6.13.0 and 7.5.0, and the advisory points users to those releases. The source does not describe a workaround. For full details, consult the original oss-security post.
What to do
- Check whether Struts applications fall within the affected version ranges listed in the advisory.
- Upgrade to Struts 6.13.0 or 7.5.0, as recommended in the advisory.
- Review whether any applications bind parameters to BigDecimal properties and render them through the number tag or localized messages, since only those are described as affected.
- No workaround is stated in the source; if upgrading is delayed, the advisory should be consulted for any further guidance.
Original report
“CVE-2026-133641: Apache Struts: Disproportionate expansion of BigDecimal request parameters in the number tag and localized messages”
Posted by Lukasz Lenart on Nov 30 Severity: moderate Affected versions: - Apache Struts 2.5.12 through 2.5.33 - Apache Struts 6.0.0 through 6.12.0 - Apache Struts 7.0.0 through 7.4.0 Description: Asymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered t…
Vulnerabilities mentioned
- Apache Struts 6.9.0 Flaw Lets Disallowed HTTP Methods Reach Actions (CVE-2026-133649)
- CVE-2026-133644: Apache Struts: HTTP method restriction declared on an action's default method is not enforced
- CVE-2026-133643: Apache Struts: doubleselect tag writes a value into the page script without script escaping
- Apache Struts Flaw CVE-2026-133642 Lets Requests Bypass Path-Based Access Controls
- CVE-2026-133640: Apache Struts: Incomplete fix for CVE-2026-104712: disproportionate response size when rendering BigDecimal request parameters