Skip to main content
CVE-2024-47855VulnerabilityPublished Updated

CVE-2024-47855: json-lib · n/a

Affects json-libSource CVE Database V5

0

Not known to be exploited · 17% EPSS · CVSS 5.3 Medium : upgrade to 3.1.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
17.5% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade net.sf.json-lib/json-lib to 3.1.0.

Affected software

ProductAffectedFixed in
Mavennet.sf.json-lib/json-libpkg:maven/net.sf.json-lib/json-libOther threatsAffected
  • <3.1.0
Fixed in
  • 3.1.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-47855, organizations should: 1) Upgrade JSON-lib to version 3.1.0 or later once the patch is officially released to ensure the vulnerability is addressed. 2) Implement strict input validation and sanitization on all JSON inputs, especially those containing comments, to detect and reject malformed or unbalanced comment strings before parsing. 3) Employ runtime monitoring and anomaly detection to identify unusual resource consumption or application crashes related to JSON parsing. 4) Use application-layer firewalls or API gateways to filter and block suspicious JSON payloads from untrusted sources. 5) Conduct thorough testing of JSON parsing components under malformed input scenarios to verify robustness. 6) Maintain up-to-date inventory of software dependencies to quickly identify and remediate vulnerable library versions. These steps go beyond generic advice by focusing on proactive input validation and layered defenses to reduce exposure until patches are applied.

Description

util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.

References

Community reviews

Loading reviews…