Vulnerability in org.typelevel:jawn-parser_2.12 (CVE-2026-59990)
Summary
Vulnerability in org.typelevel:jawn-parser_2.12 (CVE-2026-59990). Risk of unauthorized operations or information disclosure. Exploitable via java.lang.OutOfMemoryError. Mitigation: upgrade to 1.7.0 or later.
Original description
The description as published by the source.
The Jawn parser before 1.6.1 is vulnerable to a denial of service attack via untrusted input.
Impact
A remote attacker who can submit JSON to any jawn-backed parse method can exhaust JVM heap and trigger java.lang.OutOfMemoryError. This is treated by Scala as a fatal error and not typically handled by scala.util.Try or cats.effect.IO.
Patches
Version 1.6.1 introduces a configurable nesting-depth limit (Parser#maxDepth, default 4096). Inputs deeper than the limit fail with a recoverable ParseException instead of exhausting heap.
Users who require deeper nesting may override maxDepth on a Parser subclass.
Workarounds
- Enforce an input size limit small enough that the resulting context stack cannot exhaust heap, (e.g. http4s
EntityLimiter). - Pre-scan untrusted input and reject documents whose maximum delimiter nesting exceeds a threshold before handing them to jawn.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-59990 has been found in org.typelevel:jawn-parser_2.12.
Attackers can target a specific entry point like java.lang.OutOfMemoryError over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 7.5/10.
What to do: upgrade org.typelevel:jawn-parser_2.12 to 1.7.0 or later.
If unsure, ask your IT team or search "org.typelevel:jawn-parser_2.12 CVE-2026-59990" on the vendor's site.
CVE-2026-59990 (org.typelevel:jawn-parser_2.12) — CWE-770 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: java.lang.OutOfMemoryError / scala.util.Try / cats.effect.IO / ParseException
Patched: 1.7.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-770) exists in org.typelevel:jawn-parser_2.12. Attackers reach the vulnerable code path via java.lang.OutOfMemoryError without authentication.
Check the vendor advisory for the affected versions of org.typelevel:jawn-parser_2.12. Attack surface: java.lang.OutOfMemoryError / scala.util.Try / cats.effect.IO / ParseException.
Severity: High (CVSS 7.5/10). Risk of unauthorized operations or information disclosure.
Update to 1.7.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.typelevel:jawn-parser_2.12 を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade org.typelevel:jawn-parser_2.12 to 1.7.0ステージング環境で 1.7.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com