Security mailing lists by PureSourceCode

CVE-2026-59171

MEDIUM 5.9CVSS 3.1

JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS

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.

Published
6 Nov 2026
Last modified
12 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-400CWE-770
Also known as
GHSA-ghc9-756g-vrcv
Sources
NVDJSONOSV GHSA-ghc9-756g-vrcvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.json:json >= 20150729, < 20260719 20260719

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 6 Nov 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.