CVE-2026-59990

Jawn: Uncontrolled nesting depth in JSON parser

Published Sep 23, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Jawn is an open source JSON parser. Prior to 1.7.0, Jawn parse methods accept arbitrarily deep JSON array and object nesting without a depth limit, allowing a remote attacker who can submit untrusted JSON to grow parser contexts until the JVM heap is exhausted. The resulting java.lang.OutOfMemoryError is a fatal Scala error that is not ordinarily handled by scala.util.Try or cats.effect.IO, causing denial of service. This issue is fixed in version 1.7.0.

Analysis

AI-generated

Technical impact

Jawn is an open source JSON parser that accepts arbitrarily deep JSON structures without a depth limit. If a remote attacker supplies a deeply nested array or object, the parser consumes excessive heap space until the Java Virtual Machine exhausts its memory, raising a java.lang.OutOfMemoryError. The error propagates as a fatal Scala error that is not normally caught by standard error handling, causing the entire application to terminate and resulting in denial of service. The weakness is an example of uncontrolled resource consumption (CWE‑770).

Affected Systems

The vulnerability affects all versions of the typelevel:jawn JSON parser before release 1.7.0. Applications that integrate these older Jawn versions and accept untrusted JSON input are susceptible.

Risk and Exploitability

The CVSS score of 7.5 reflects significant impact for affected deployments. Although EPSS data is unavailable, the lack of a known exploit in the CISA KEV catalog suggests the attack is not yet widely documented, but the inherent nature of the flaw means it could be leveraged by an attacker who can deliver JSON to the parser. An attacker can trigger the vulnerability by submitting a heavily nested JSON document, causing heap exhaustion and a fatal error that leads to service disruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Jawn to version 1.7.0 or later to enforce a nesting depth limit.
  • If upgrading is not immediately possible, add application‑level checks to restrict JSON nesting depth before invoking Jawn.
  • Monitor application logs for OutOfMemoryError messages and investigate spikes in memory consumption as potential exploitation attempts.

Generated by OpenCVE AI on September 23, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cc4v-rvgp-2pf3 Jawn: Uncontrolled nesting depth in JSON parser
History
Type Values Removed Values Added
First Time appeared Typelevel
Typelevel jawn
Vendors & Products Typelevel
Typelevel jawn
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Jawn is an open source JSON parser. Prior to 1.7.0, Jawn parse methods accept arbitrarily deep JSON array and object nesting without a depth limit, allowing a remote attacker who can submit untrusted JSON to grow parser contexts until the JVM heap is exhausted. The resulting java.lang.OutOfMemoryError is a fatal Scala error that is not ordinarily handled by scala.util.Try or cats.effect.IO, causing denial of service. This issue is fixed in version 1.7.0.
Title Jawn: Uncontrolled nesting depth in JSON parser
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 7:27 PM
Reserved
Jul 7, 2026, 7:41 PM
Status
Deferred
Published
Sep 23, 2026, 7:17 PM
Modified
Sep 30, 2026, 5:32 PM