Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
stleary JSON-java >= 20150729, < 20260719 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed json-java 20260814-1.1 openSUSE-SU-2026:12514-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling akhq 0.28.0-r17 —
Wolfi rolling apicurio-registry 3.3.4-r1 —
Wolfi rolling dependency-track +1 4.14.6-r1 —
Wolfi rolling flyway +1 No fix yet —
Wolfi rolling jenkins-plugin-manager 2.16.0-r1 —
Wolfi rolling opensearch-3-sql +5 3.9.0-r9 —
Wolfi rolling spdx-tools-java 2.0.7-r12 —
Wolfi rolling strimzi-kafka-operator-kafka-thirdparty-libs-cc 1.3.1-r1 —
Wolfi rolling thingsboard-tb-node +1 4.4.0.2-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.json:json >= 20150729, < 20260719 20260719 GHSA-ghc9-756g-vrcv

Advisories 1

References