org.json:json vulnerabilities

JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL. This is a reference implementation. There are a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully.

Registry
Maven
Latest
20260814
License
Public Domain

3 known advisories

The latest version, 20260814, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.json:json -DdepVersion=20260814 -DforceVersion=true

Is your project on an affected org.json:json?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for org.json:json

  • MediumCVE-2026-59171GHSA-ghc9-756g-vrcv9 Nov 2026

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

    Affected
    >=20150729 <20260719
    Fixed in
    20260719
  • HighCVE-2023-5072GHSA-4jq9-2xhw-jpx714 Nov 2023

    Java: DoS Vulnerability in JSON-JAVA

    Affected
    <20231013
    Fixed in
    20231013
  • HighCVE-2022-45688GHSA-3vqj-43w4-2q5813 Dec 2022

    json stack overflow vulnerability

    Affected
    <20230227
    Fixed in
    20230227

Is your org.json:json version vulnerable?

Which of your client projects still run an old org.json:json?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.