CVE-2026-61814

Jawn: Quadratic parsing effort in AsyncParser

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's AsyncParser can perform quadratic work when a single JSON token is delivered across many small chunks because each absorb call rescans the incomplete token from the start. A remote attacker who controls untrusted JSON input and its chunk sizes can exhaust CPU resources and cause denial of service in applications using AsyncParser. This issue is fixed in version 1.7.0.

Analysis

AI-generated

Technical impact

Jawn is an open‑source JSON parser. Before version 1.7.0 its AsyncParser performs a quadratic amount of work when a single JSON token is sent in many tiny chunks; each absorb call re‑scans from the beginning. An attacker controlling the JSON payload and its fragmentation can trigger repeated rescans, which consumes large amounts of CPU and leads to a denial‑of‑service in applications that use AsyncParser.

Affected Systems

All versions of the Jawn Parser distributed under org.typelevel:jawn-parser_2.12, org.typelevel:jawn-parser_2.13, org.typelevel:jawn-parser_3 and the typelevel:jawn project that ship the parser before the release of 1.7.0 are affected. Upgrading to any version 1.7.0 or later removes the quadratic parsing behavior.

Risk and Exploitability

The CVSS score of 7.5 indicates a medium‑to‑high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw is triggered by remote on‑demand JSON input that can be individually controlled, the likely attack vector is remote network traffic or an API that accepts user data. An attacker can feed carefully crafted, fragment‑rich requests to exhaust server resources until legitimate traffic is denied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Jawn parser to version 1.7.0 or later.
  • If an upgrade cannot be performed immediately, restrict the size of incoming requests or limit the use of Chunked transfer encoding to prevent delivery of exceedingly small JSON fragments, thereby reducing the chance of triggering the quadratic parsing path.
  • Deploy application‑level rate limiting or CPU‑based throttling to detect and mitigate sudden spikes in parsing workload, and monitor system performance for signs of denial‑of‑service activity.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-w4cm-gvhj-cgw6 Jawn: Quadratic parsing effort in AsyncParser
History
Type Values Removed Values Added
First Time appeared Org.typelevel
Org.typelevel jawn-parser 2.12
Org.typelevel jawn-parser 2.13
Org.typelevel jawn-parser 3
Typelevel
Typelevel jawn
Vendors & Products Org.typelevel
Org.typelevel jawn-parser 2.12
Org.typelevel jawn-parser 2.13
Org.typelevel jawn-parser 3
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's AsyncParser can perform quadratic work when a single JSON token is delivered across many small chunks because each absorb call rescans the incomplete token from the start. A remote attacker who controls untrusted JSON input and its chunk sizes can exhaust CPU resources and cause denial of service in applications using AsyncParser. This issue is fixed in version 1.7.0.
Title Jawn: Quadratic parsing effort in AsyncParser
Weaknesses CWE-400
CWE-407
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-400

    Uncontrolled Resource Consumption

  • CWE-407

    Inefficient Algorithmic Complexity

Sources

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