CVEfocus › CVE database › CVE-2026-59171

CVE-2026-59171JSON-java: JSONTokener Unbounded Numeric String Resource-Exhaustion DoS

CVSS 5.9 MediumEPSS 0.6% (higher than 42% of CVEs)Published 2026-11-06Updated 2026-11-11Assigner: GitHub_M

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.

CWE-400CWE-770

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 10firefoxFix pending
Fix deferred
Red Hat Enterprise Linux 10thunderbirdFix pending
Fix deferred
Red Hat Enterprise Linux 9firefoxFix pending
Fix deferred
Red Hat Enterprise Linux 9firefox-x11Fix pending
Fix deferred
Red Hat Enterprise Linux 9thunderbirdFix pending
Fix deferred
Red Hat Enterprise Linux 8firefoxFix pending
Fix deferred
Maven libraryorg.json:jsonFixed20260719GHSA-ghc9-756g-vrcv

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.