CVE-2026-91777
jackson-databind: quadratic forward-reference completion in Collection and Map deserializers
Also known as GHSA-cxp5-3px4-pw24
Mitigation
- Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.21.7, 2.18.11, 2.22.3 (or later in the same release line).
- Upgrade tools.jackson.core:jackson-databind to one of 3.1.7, 3.2.3 (or later in the same release line).
- Vendor workaround: Bound the size of JSON documents deserialized into @JsonIdentityInfo-enabled collections and maps, and cap the number of elements accepted for such types, so that the quadratic term cannot be driven large. Removing @JsonIdentityInfo from types reachable from attacker-influenced input avoids the code path entirely. Wall-clock timeouts on deserialization limit the impact of a single request.
Who should check
- Projects that depend on Maven package com.fasterxml.jackson.core:jackson-databind (>= 2.19.0, < 2.21.7)
- Projects that depend on Maven package tools.jackson.core:jackson-databind (>= 3.0.0, < 3.1.7)
- Anyone running FasterXML jackson-databind >= 2.5.0, <= 2.18.10; >= 2.19.0, <= 2.21.6; >= 2.22.0, <= 2.22.2
- Anyone running FasterXML jackson-databind >= 3.0.0, <= 3.1.6; >= 3.2.0, <= 3.2.2
Vulnerability facts
- Affected
- com.fasterxml.jackson.core:jackson-databind >= 2.19.0, < 2.21.7; tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.7
- Fixed in
- 2.21.7, 2.18.11, 2.22.3, 3.1.7, 3.2.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.56% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
Forward-reference completion for @JsonIdentityInfo object IDs in FasterXML jackson-databind performs a linear scan of the pending-reference accumulator for every resolved ID. The affected paths are CollectionDeserializer.CollectionReferringAccumulator.resolveForwardReference() and the equivalent implementation in MapDeserializer. When a document first creates N unresolved object-ID references in an identity-enabled collection or map and then defines those same IDs in reverse order, completion performs on the order of N * (N + 1) / 2 identity comparisons, so a shallow document whose size grows linearly causes quadratic CPU work during deserialization. The reporter instrumented equals() calls on the ID class and measured exactly 2,003,000 comparisons at N = 2,000, against zero comparisons in the pending-reference lookup path for an equally sized control in which every reference was already resolved. The input requires no deep nesting and no syntactically unusual JSON. Exploitation requires an application that deserializes attacker-influenced JSON into an identity-enabled collection or map. The fix replaces the repeated linear lookup with a keyed pending-reference structure.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.fasterxml.jackson.core:jackson-databind | >= 2.19.0, < 2.21.7 | 2.21.7, 2.18.11, 2.22.3 | osv |
| Maven tools.jackson.core:jackson-databind | >= 3.0.0, < 3.1.7 | 3.1.7, 3.2.3 | osv |
| FasterXML jackson-databind | >= 2.5.0, <= 2.18.10; >= 2.19.0, <= 2.21.6; >= 2.22.0, <= 2.22.2 | — | cvelist |
| FasterXML jackson-databind | >= 3.0.0, <= 3.1.6; >= 3.2.0, <= 3.2.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-91777. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-91777.md Affected: com.fasterxml.jackson.core:jackson-databind >= 2.19.0, < 2.21.7; tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.7 Fixed in: 2.21.7, 2.18.11, 2.22.3, 3.1.7, 3.2.3 Steps: 1. Search this machine and project for com.fasterxml.jackson.core:jackson-databind (Maven), tools.jackson.core:jackson-databind (Maven), FasterXML jackson-databind: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/FasterXML/jackson-databind
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.11
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.7
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.3
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.7
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.3
FAQ
Is CVE-2026-91777 being exploited?
There is no confirmed exploitation: CVE-2026-91777 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-91777?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-91777?
com.fasterxml.jackson.core:jackson-databind >= 2.19.0, < 2.21.7; tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.7.
Is there a fix for CVE-2026-91777?
Yes. Fixed in 2.21.7, 2.18.11, 2.22.3, 3.1.7, 3.2.3. Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.21.7, 2.18.11, 2.22.3 (or later in the same release line). Upgrade tools.jackson.core:jackson-databind to one of 3.1.7, 3.2.3 (or later in the same release line). Vendor workaround: Bound the size of JSON documents deserialized into @JsonIdentityInfo-enabled collections and maps, and cap the number of elements accepted for such types, so that the quadratic term cannot be driven large. Removing @JsonIdentityInfo from types reachable from attacker-influenced input avoids the code path entirely. Wall-clock timeouts on deserialization limit the impact of a single request.
How do I check if I'm affected by CVE-2026-91777?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.