Apache Axis2/Java: Unbounded JSON request body memory exhaustion (CVE-2026-120367)
Apache Axis2/Java versions prior to 2.0.2 are vulnerable to a denial-of-service condition where unauthenticated attackers can exhaust server memory by sending large, unbounded JSON requests.
CVE search metadata
CVE search record: CVE-2026-120367. KEV: no. Product: Axis2/Java (< 2.0.2). Brief: Apache Axis2/Java: Unbounded JSON request body memory exhaustion (CVE-2026-120367). Brief link: https://feed.craftedsignal.io/briefs/2026-11-apache-axis2-json-dos/
Triage facts
Revision 1- Applicability
- Axis2/Java (< 2.0.2)
- Evidence
- Unknown
- Severity
- Low
- Action
- Monitor or close
- Sources
- 1 public source
- Freshness
- Revision 1Nov 6, 19:23 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- D3Roughly even chance
Apache Axis2/Java versions before 2.0.2 contain an "Allocation of Resources Without Limits or Throttling" vulnerability. The JSON message builders, specifically the Gson, Moshi, and HTTP/2 variants, buffer the entire request body into memory without size constraints. An unauthenticated attacker can exploit this behavior by sending a specially crafted, excessively large JSON request to the server, resulting in memory exhaustion and a potential denial-of-service (DoS) condition. Version 2.0.2 introduces configurable limits to mitigate this risk.
Impact
The primary risk is a denial-of-service condition caused by heap memory exhaustion, which can crash the JVM or cause severe performance degradation for the affected service.
Recommendation
- Upgrade Apache Axis2/Java to version 2.0.2 or later to enable configurable request body size limits.
- Implement upstream request size restrictions at the WAF or reverse proxy layer to drop excessively large HTTP POST requests before they reach the Axis2 service.
Threat Hunt
Monitor for abnormally large HTTP POST request sizes directed at JSON parsing endpoints
Data: Web server access logs with Content-Length field
Mitigations
Upgrade Apache Axis2/Java to version 2.0.2 or later
CVE-2026-120367