{"id":"GHSA-w4cm-gvhj-cgw6","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`","aliases":["CVE-2026-61814"],"modified":"2026-09-23T21:45:11.352074404Z","published":"2026-09-23T21:23:58Z","database_specific":{"github_reviewed_at":"2026-09-23T21:23:58Z","nvd_published_at":null,"cwe_ids":["CWE-400","CWE-407"],"severity":"HIGH","github_reviewed":true},"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"}],"affected":[{"package":{"name":"org.typelevel:jawn-parser_2.12","ecosystem":"Maven","purl":"pkg:maven/org.typelevel/jawn-parser_2.12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0"}]}],"versions":["0.14.0","0.14.1","0.14.2","0.14.3","1.0.0","1.0.0-RC1","1.0.0-RC2","1.0.0-RC3","1.0.0-RC4","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.5.0","1.5.1","1.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-w4cm-gvhj-cgw6/GHSA-w4cm-gvhj-cgw6.json","last_known_affected_version_range":"\u003c= 1.6.0"}},{"package":{"name":"org.typelevel:jawn-parser_2.13","ecosystem":"Maven","purl":"pkg:maven/org.typelevel/jawn-parser_2.13"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0"}]}],"versions":["0.14.2","0.14.3","1.0.0","1.0.0-RC1","1.0.0-RC2","1.0.0-RC3","1.0.0-RC4","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.5.0","1.5.1","1.6.0"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.6.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-w4cm-gvhj-cgw6/GHSA-w4cm-gvhj-cgw6.json"}},{"package":{"name":"org.typelevel:jawn-parser_3","ecosystem":"Maven","purl":"pkg:maven/org.typelevel/jawn-parser_3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0"}]}],"versions":["1.1.2","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.5.0","1.5.1","1.6.0"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.6.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-w4cm-gvhj-cgw6/GHSA-w4cm-gvhj-cgw6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}