Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend oversized numeric JSON/XML body
-
DeliveryReaches org.json JSONObject/JSONArray/XML.toJSONObject parser
-
ExploitUnbounded token passed to BigInteger/BigDecimal
-
ExecutionSuper-linear CPU blocks request thread
-
ImpactConcurrent requests exhaust thread pool, denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The application must (1) use the org.json / stleary json-java library rather than another JSON parser, and (2) pass attacker-controlled input into new JSONObject(String), new JSONArray(String), or XML.toJSONObject(String) - all three entry points are confirmed affected. No authentication is required (PR:N) and no user interaction (UI:N). Critically, the JSONParserConfiguration withStrictMode(true) and withKeepStrings(true) options do NOT prevent the conversion and provide no mitigation. Limiting factors: impact is availability-only (thread/CPU exhaustion, no data compromise); exploitation depends on the absence of an upstream request-body size cap - Spring Boot applies no default size limit to application/json bodies and nginx's default 1 MB client_max_body_size passes the ~488 KB payload, so a tight body-size limit meaningfully reduces exposure. Per the advisory, updating to 20260719 (which caps numeric conversion length) is the fix. |
| Impact | This is a genuine but moderate-priority denial-of-service issue, not a high-impact RCE or data-exposure flaw. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9) correctly scopes it: network-reachable and unauthenticated (PR:N) but with high attack complexity (AC:H) and availability-only impact (C:N/I:N, A:H). The AC:H rating reflects deployment preconditions outside the attacker's control, not a race or timing condition - per the GHSA, exploitation requires the target to use org.json specifically (Spring Boot defaults to Jackson) and to have passed attacker-controlled input to JSONObject/JSONArray/XML.toJSONObject. The vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a serious-but-not-urgent DoS. No CISA KEV listing and no EPSS score were supplied; absence of EPSS/KEV here is not evidence of safety, only missing signals. A reporter-reproduced public PoC exists in the GHSA advisory (verified against json-20260522.jar), which raises practical risk above a theoretical finding. Net: treat as a real but schedulable fix - prioritize if your Java services parse untrusted JSON/XML with org.json and lack a strict request-body size cap. |
| Exploit ScenarioDerived | An attacker sends a single ~488 KB HTTP JSON body containing a ~500,000-digit numeric literal to an endpoint that parses it with org.json's new JSONObject(requestBody); the super-linear BigInteger conversion blocks the handling thread for roughly 3 seconds, and ~200 concurrent such requests exhaust a default Tomcat thread pool, stalling legitimate traffic. A working PoC reproducing this against json-20260522.jar is published in the vendor's GHSA advisory. High attack complexity reflects that the target must specifically use org.json on attacker-controlled input, not a hard-to-trigger race. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Denial of service in JSON-java (org.json) versions 20150729 through 20260522 lets remote attackers block request-handling threads by submitting JSON or XML containing an extremely long numeric literal; conversion through BigInteger or BigDecimal consumes super-linear CPU time, and the published reproduction held a thread for about 3 seconds with a roughly 488 KB body. Exploitation requires the target application to use org.json and to pass attacker-controlled input to new JSONObject(String), new JSONArray(String), or XML.toJSONObject(String), conditions that raise attack complexity to High (AC:H), but no authentication or user interaction is needed, and neither withStrictMode(true) nor withKeepStrings(true) prevents the conversion. A publicly posted proof-of-concept reproduces the thread blockage against json-20260522.jar, while no active exploitation or CISA KEV entry is confirmed in the supplied intelligence; impact is availability-only.
RemediationAI
Upgrade to JSON-java 20260719, the vendor release that limits numeric conversion length (https://github.com/stleary/JSON-java/releases/tag/20260719); the linked advisory is https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv, and the fix is visible in PRs https://github.com/stleary/JSON-java/pull/1065 and https://github.com/stleary/JSON-java/pull/1067 plus commits 703ac34a55400f9c50889e3d0c778b6d7962e81c, ab92bb9088a37f9e346cd1dda66f6a3c40a201e0, and fce83c91bb229dde472283dea648a9a8955237fd, which cap numeric conversion at 1,000 characters in JSONObject.stringToValue and XML.stringToValue. The advisory identifies updating as the fix, and the parser configuration options withStrictMode(true) and withKeepStrings(true) do not mitigate the conversion path. If upgrading cannot be done immediately, enforce a tight request-body size limit for application/json and XML endpoints at the reverse proxy or application framework, since the reproduction used a roughly 488 KB body that passes nginx's default 1 MB client_max_body_size and Spring Boot applies no default size limit to application/json bodies, and reject numeric tokens longer than 1,000 characters before they reach org.json; the trade-off is that tight body limits or token rejection may refuse legitimately large JSON documents or large numeric values. Updating remains the only complete fix per the vendor advisory.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is uncontrolled resource consumption (CWE-400, with the advisory also citing CWE-770) in the org.json reference implementation. JSONTokener.nextSimpleValue accumulates characters into a StringBuilder without any length cap until a structural JSON delimiter is reached, and JSONObject.stringToNumber then passes the full token to new BigInteger(val) or new BigDecimal(val) with no size guard. BigInteger(String) construction uses Karatsuba multiplication and has roughly O(n^1.585) cost, so a 100,000-digit literal took about 120 ms while a 1,000,000-digit literal took about 12 seconds in the advisory reproduction; the decimal path reached through a dot or exponent is equally affected. The same conversion path is reached from new JSONObject(String), new JSONArray(String), and XML.toJSONObject(String), and JSONParserConfiguration withStrictMode(true) or withKeepStrings(true) does not check or limit the numeric token. The advisory distinguishes this from CVE-2023-5072, which added a StackOverflowError catch for deeply nested JSON structures, and states that the numeric-length issue has existed since BigInteger support was introduced in 20150729. The supplied CPE cpe:2.3:a:stleary:json-java:*:*:*:*:*:*:*:* is a wildcard entry, while the advisory narrows the vulnerable range to 20150729 through 20260522 and the fixed release to 20260719.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable and unauthenticated (AV:N/PR:N); AC:H because exploitation depends on the target using org.json on untrusted input; availability-only impact (A:H, C:N/I:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
JSON-java is a reference implementation of a JSON package in Java. From version 20150729 through 20260522, JSONTokener.nextSimpleValue can accumulate unbounded numeric tokens before JSONObject.stringToNumber passes them to BigInteger or BigDecimal conversion without a length limit. An application that parses attacker-controlled JSON or XML through JSONObject, JSONArray, or XML.toJSONObject can spend super-linear CPU time converting a sufficiently long numeric literal, blocking request-handling threads and causing denial of service. Strict mode and keep-strings settings in JSONParserConfiguration do not prevent the affected conversion path. Version 20260719 limits numeric conversion length.
Blast Radius
ecosystem impact- 108 maven packages depend on org.json:json (37 direct, 71 indirect)
Ecosystem-wide dependent count for version 20150729.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-118487
GHSA-ghc9-756g-vrcv
NVD
CVE.org
EPSS
Exploit-DB