CVE-2026-61814
JSON

7.5high

Jawn: Quadratic parsing effort in AsyncParser

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.56% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-w4cm-gvhj-cgw6

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.

Affected

Product or packageVersionsReported by
typelevel jawn< 1.7.0CVE List
org.typelevel jawn-parser_2.12< 1.7.0CVE List
org.typelevel jawn-parser_2.13< 1.7.0CVE List
org.typelevel jawn-parser_3< 1.7.0CVE List
org.typelevel:jawn-parser_2.12 (Maven)before 1.7.0GitHub Advisory Database
org.typelevel:jawn-parser_2.13 (Maven)before 1.7.0GitHub Advisory Database
org.typelevel:jawn-parser_3 (Maven)before 1.7.0GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-407

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-61814 changed 2026-09-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-w4cm-gvhj-cgw6 changed 2026-09-23CC-BY-4.0
NVDCVE-2026-61814 changed 2026-09-30Public domain