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.
Published: 2026-09-23
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Wed, 23 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Typelevel
Typelevel jawn
Vendors & Products Typelevel
Typelevel jawn

Wed, 23 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 23 Sep 2026 19:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T19:27:58.498Z

Reserved: 2026-07-07T19:41:00.005Z

Link: CVE-2026-59990

cve-icon Vulnrichment

Updated: 2026-09-23T19:27:54.230Z

cve-icon NVD

Status : Received

Published: 2026-09-23T19:17:32.637

Modified: 2026-09-23T20:17:11.903

Link: CVE-2026-59990

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T21:00:12Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling