---
id: "CVE-2026-120367"
page: "https://infrastack.ai/live/CVE-2026-120367"
kind: "vulnerability"
aliases: ["CVE-2026-120367"]
title: "Apache Axis2/Java: unbounded JSON request bodies let callers exhaust server memory"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["apache-axis2", "java", "package", "web-services"]
not_affected_if: ["not-using-json-builders"]
published_at: "2026-11-09T11:17:21+00:00"
first_seen_at: "2026-11-09T11:26:03+00:00"
updated_at: "2026-11-09T11:26:55+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120367", "first_seen_at": "2026-11-09T11:26:03+00:00"}]
exploit_sources: []
---

# Apache Axis2/Java: unbounded JSON request bodies let callers exhaust server memory

Link for people: https://infrastack.ai/live/CVE-2026-120367 (this .md is for agents)

Apache Axis2/Java's JSON message builders (Gson, Moshi and HTTP/2 variants) read the whole request body into memory with no size limit. An unauthenticated caller can send a very large JSON request and exhaust the server's memory.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Axis2/Java version in your dependencies, for example with `mvn dependency:tree | grep axis2` or by inspecting the WAR's lib directory.
- Confirm whether JSON services are exposed through the Gson, Moshi or HTTP/2 message builders.

## Fix

- Apache Axis2/Java: upgrade to `2.0.2`, which bounds JSON request bodies with the jsonMaxRequestSize parameter.

## Timeline

- 2026-11-09T11:26:03+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120367

## Documents

- [fix] Patch: github.com https://github.com/apache/axis-axis2-java-core/commit/aea2671e3c5ebd8638d37db30d69639223366d5d

## From the sources

Allocation of Resources Without Limits or Throttling vulnerability in Apache Axis2/Java. The JSON message builders, including the Gson, Moshi and HTTP/2 variants, buffered the entire request body with no size limit, so an unauthenticated caller could exhaust server memory with a large JSON request. Version 2.0.2 bounds JSON request bodies with the configurable jsonMaxRequestSize parameter. This issue affects Apache Axis2/Java: through 2.0.1. Users are recommended to upgrade to version 2.0.2, which fixes the issue.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
