CVE-2026-91777 — Vulnerability in jackson-databind — CVE Details
jackson-databind quadratic forward-reference completion
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.56%). Schedule for your next planned update.
Does your project use an affected tools.jackson.core:jackson-databind version?
Paste your pom.xml to check it for CVE-2026-91777 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
When an @JsonIdentityInfo collection or map first creates N unresolved
object-ID references and later resolves the same IDs in reverse order,
jackson-databind scans the remaining pending-reference accumulator for each
resolution. A shallow JSON document whose size grows linearly can therefore
cause quadratic CPU work during deserialization.
Details
The affected path is forward-reference completion in
CollectionDeserializer.CollectionReferringAccumulator.resolveForwardReference()
and the corresponding map implementation. The implementation performs a
linear search of the pending accumulator for every resolved object ID.
The behavior is runtime-confirmed in jackson-databind 2.5.0, 2.22.1, and 3.2.1. Current 2.22 and 3.2 source branches retained the same design when rechecked. A 2.4.0 control fails closed before successful reverse-order completion, so 2.5.0 is the conservative runtime-confirmed affected floor. The patched versions are: 2.18.11, 2.21.7, 2.22.3, 3.1.7 and 3.2.3.
The vulnerable application must deserialize attacker-influenced JSON into an identity-enabled collection or map. The issue does not require deep nesting or syntactically unusual JSON.
Suggested correction: replace repeated linear lookup/removal with a keyed pending-reference structure or another design that provides linear or amortized-linear completion. A regression should preserve input order, duplicate-ID behavior, and unresolved-ID errors while bounding reverse-order resolution work.
PoC
The proof constructs a shallow collection containing N unresolved
@JsonIdentityInfo references followed by definitions of those same IDs in
reverse order. Its ID class counts equals() calls, giving a deterministic
work measure rather than a timing-dependent result.
With N=2,000, affected versions perform exactly 2,003,000 ID comparisons. An
equally sized control in which every reference is already resolved performs
zero comparisons in the pending-reference lookup path. The run is bounded to
a 512 MiB JVM. The result demonstrates quadratic growth: approximately
N * (N + 1) / 2 comparisons, plus fixed setup comparisons.
Impact
An unauthenticated source that can submit JSON to an application using the affected identity-enabled collection or map shape can consume quadratic CPU and exhaust a request-time or worker-capacity budget, causing denial of service. The application model/configuration prerequisite is material. No confidentiality, integrity, code-execution, or parser-depth impact is claimed.
Requested credit: Daniel Birtwhistle
Advisory Timeline
- First published September 30, 2026 (57 days ago).
- Last revised September 30, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.1.7 for tools.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.21.7 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 3.2.3 for tools.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.18.11 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.22.3 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| tools.jackson.core:jackson-databind Maven · Affected: 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+9 more) | 3.1.7 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.19.0, 2.19.1, 2.19.2, 2.19.3 (+12 more) | 2.21.7 |
| tools.jackson.core:jackson-databind Maven · Affected: 3.2.0, 3.2.1, 3.2.2 | 3.2.3 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.10.0, 2.10.0.pr1, 2.10.0.pr2, 2.10.0.pr3 (+164 more) | 2.18.11 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.22.0, 2.22.1, 2.22.2 | 2.22.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-cxp5-3px4-pw24WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-91777ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/6204WEB
- https://github.com/FasterXML/jackson-databind/pull/6204WEB
- https://github.com/FasterXML/jackson-databind/commit/37ad9b81712cbb9fb62c2d2c1813593252a24b67WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.11WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.7WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.3WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.7WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.3WEB
Frequently Asked Questions
- What is CVE-2026-91777?
- jackson-databind quadratic forward-reference completion. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-91777?
- CVE-2026-91777 affects tools.jackson.core:jackson-databind and com.fasterxml.jackson.core:jackson-databind. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-91777 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 40.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-54512HIGH
jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation
- CVE-2026-54513HIGH
jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
- CVE-2026-91776HIGH
jackson-databind retains every unknown raw type ID
- CVE-2026-59889MEDIUM
jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization
- CVE-2026-54515MEDIUM
jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties
- CVE-2026-54514MEDIUM
jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)
- CVE-2026-77310MEDIUM
jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization
- CVE-2026-19032MEDIUM
jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution