Vulnerabilities in pkg:maven/org.typelevel/jawn-parser_3

PACKAGE
Advisory Identifier: GHSA-w4cm-gvhj-cgw6
Advisory Summary

CVE-2026-61814 is a HIGH (CVSS 7.5) quadratic parsing effort vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Jawn libraries in the Maven ecosystem. The issue involves quadratic parsing effort in asyncparser. Remediation is available by upgrading affected packages to version 1.7.0.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.typelevel/jawn-parser_3

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.typelevel/jawn-parser_3. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-w4cm-gvhj-cgw6 CVE-2026-61814 HIGH Jawn: Quadratic parsing effort in AsyncParser
GHSA-cc4v-rvgp-2pf3 CVE-2026-59990 HIGH Jawn: Uncontrolled nesting depth in JSON parser
GHSA-vc89-hccf-rq55 CVE-2022-21653 MODERATE Hash collision in typelevel jawn

CVE-2026-61814 at a Glance

CVE Identifier CVE-2026-61814
GHSA Identifier GHSA-w4cm-gvhj-cgw6
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Jawn
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-61814

To remediate this vulnerability, upgrade all affected Jawn dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.typelevel:jawn-parser_2.12 fixed: 1.7.0
<dependency>
    <groupId>org.typelevel</groupId>
    <artifactId>jawn-parser_2.12</artifactId>
    <version>1.7.0</version>
</dependency>
org.typelevel:jawn-parser_2.13 fixed: 1.7.0
<dependency>
    <groupId>org.typelevel</groupId>
    <artifactId>jawn-parser_2.13</artifactId>
    <version>1.7.0</version>
</dependency>
org.typelevel:jawn-parser_3 fixed: 1.7.0
<dependency>
    <groupId>org.typelevel</groupId>
    <artifactId>jawn-parser_3</artifactId>
    <version>1.7.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.typelevel

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-61814, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.typelevel

Analyze the terminal output to locate any version of Jawn in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.typelevel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Jawn, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

`AsyncParser` can be forced to perform O(n^2) work on the length of the input. When a single JSON token arrives across many small chunks, each `absorb` call rescans the incomplete token from the start. ### Impact Denial of service via CPU exhaustion when parsing untrusted JSON. Preconditions: - Application uses `AsyncParser` - Attacker can send large tokens with control over chunk sizes. ### Patches Fixed in jawn-parser-1.7.0. ### Workarounds If you can't upgrade immediately: - Use the synchronous `Parser`. - Buffer incoming bytes into larger chunks before calling `absorb`

CVE-2026-61814 Affected Jawn Versions

3 component(s)
Fixed Versions:
1.7.0
Product / Package Ecosystem Affected Versions Fixed Version
org.typelevel:jawn-parser_2.12
Maven
< 1.7.0
1.7.0
org.typelevel:jawn-parser_2.13
Maven
< 1.7.0
1.7.0
org.typelevel:jawn-parser_3
Maven
< 1.7.0
1.7.0

References

Frequently Asked Questions

What is CVE-2026-61814?
CVE-2026-61814 is a security vulnerability in Jawn involving Quadratic parsing effort in AsyncParser under CWE-400: Uncontrolled Resource Consumption.
Which Jawn versions are affected?
Affected versions include releases prior to 1.7.0 across affected packages: org.typelevel:jawn-parser_2.12, org.typelevel:jawn-parser_2.13, org.typelevel:jawn-parser_3.
What version fixes CVE-2026-61814?
Upgrading to 1.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jawn-parser_2.12 affected?
Yes, org.typelevel:jawn-parser_2.12 is affected in releases prior to 1.7.0. Upgrade your dependency to 1.7.0 or later.
Is jawn-parser_2.13 affected?
Yes, org.typelevel:jawn-parser_2.13 is affected in releases prior to 1.7.0. Upgrade your dependency to 1.7.0 or later.
What is the CVSS score of CVE-2026-61814?
CVE-2026-61814 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-61814?
CVE-2026-61814 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2026-61814?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.typelevel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w4cm-gvhj-cgw6",
  "modified" : "2026-09-23T21:23:59Z",
  "published" : "2026-09-23T21:23:58Z",
  "aliases" : [ "CVE-2026-61814" ],
  "summary" : "Jawn: Quadratic parsing effort in AsyncParser",
  "details" : "`AsyncParser` can be forced to perform O(n^2) work on the length of the input.  When a single JSON token arrives across many small chunks, each `absorb` call rescans the incomplete token from the start.\n\n### Impact\n\nDenial of service via CPU exhaustion when parsing untrusted JSON.\n\nPreconditions:\n- Application uses `AsyncParser`\n- Attacker can send large tokens with control over chunk sizes.\n\n### Patches\n\nFixed in jawn-parser-1.7.0.\n\n### Workarounds\n\nIf you can't upgrade immediately:\n- Use the synchronous `Parser`.\n- Buffer incoming bytes into larger chunks before calling `absorb`",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.typelevel:jawn-parser_2.12"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.6.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.typelevel:jawn-parser_2.13"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.6.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.typelevel:jawn-parser_3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.6.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/typelevel/jawn/security/advisories/GHSA-w4cm-gvhj-cgw6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/typelevel/jawn/commit/cddcd5e3387c356b05953f7b2af103d309687e4b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/typelevel/jawn"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/typelevel/jawn/releases/tag/v1.7.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-407" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-23T21:23:58Z",
    "nvd_published_at" : null
  }
}