CVE-2026-110974
Uncontrolled Recursion on Nested JSON Allows Denial of Service in android-json
Description
The org.json parser in com.vaadin.external.google:android-json recurses once per nesting level with no depth limit: JSONTokener.nextValue() calls readArray() and readObject(), which call nextValue() again. A deeply nested JSON document, around 20 KB of nested arrays with the default thread stack, makes the JSONArray and JSONObject constructors throw a raw java.lang.StackOverflowError instead of a JSONException. Any application that parses untrusted JSON with this library can be made to fail the thread doing the parsing. The artifact is a 2013 repackage of third-party org.json classes, published once and never maintained, and no fixed version will be released.
Users of the affected version should apply the following mitigation.
Product version com.vaadin.external.google:android-json 0.0.20131108.vaadin1
Mitigation No fixed version will be released. Replace the artifact with an org.json implementation that limits the nesting depth, such as org.json:json 20231013 or later.
Artifacts Maven coordinates / Vulnerable versions / Fixed version com.vaadin.external.google:android-json / 0.0.20131108.vaadin1 / none
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.vaadin.external.google » android-jsonpreliminary | <= 0.0.20131108.vaadin1 | - |
Blast radius
69% of the dependent artifacts (5,042) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,455 |
| 2 hops | 13,442 |
| 3 hops | 115,335 |
| 4 hops | 76,736 |
| 5 hops | 70,284 |
| 6 hops | 13,174 |
Most used dependents
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-configuration-processor15,807 usages
- org.skyscreamer » jsonassert1,990 usages
- org.owasp » dependency-check-maven1,289 usages
- com.vaadin » vaadin-server810 usages
- org.springframework.boot » spring-boot-properties-migrator699 usages
- com.vaadin » vaadin-core640 usages
- com.vaadin » vaadin-maven-plugin600 usages
- org.mock-server » mockserver-netty541 usages
- com.vaadin » vaadin-client503 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- com.vaadin » vaadin378 usages
- org.springframework.boot » spring-boot-starter-webmvc-test368 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
