CVE-2026-91777
CVE-2026-91777 · jackson-databind: quadratic forward-reference completion in Collection and Map deserializers
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.4% · Public exploit · Fix available
- Published
- Updated
Stack: system
Affected products and versions
jackson-databind
- Versions
- ≥ 2.5.0, ≤ 2.18.10: Affected (maven)
- ≥ 2.19.0, ≤ 2.21.6: Affected (maven)
- ≥ 2.22.0, ≤ 2.22.2: Affected (maven)
No fix published
jackson-databind
- Versions
- ≥ 3.0.0, ≤ 3.1.6: Affected (maven)
- ≥ 3.2.0, ≤ 3.2.2: Affected (maven)
No fix published
jackson-databind Debian:12
- Versions
- 2.14.0+ds-1
- 2.14.0+ds-2
- 2.14.0+ds-3
- 2.14.0-1
- 2.14.0-1+deb12u1
- 2.18.11-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Debian:13
- Versions
- 2.14.0+ds-1
- 2.14.0+ds-1+deb13u1
- 2.14.0+ds-2
- 2.14.0+ds-3
- 2.18.11-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Debian:14
- Versions
- 2.14.0+ds-1
- 2.14.0+ds-2
- 2.14.0+ds-3
- Affected ranges
- ECOSYSTEM: < 2.18.11-1
Update to 2.18.11-1
jackson-databind Ubuntu:Pro:14.04:LTS
- Versions
- 2.2.2-1
- 2.2.2-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:Pro:16.04:LTS
- Versions
- 2.4.2-2
- 2.4.2-3
- 2.4.2-3ubuntu0.1~esm1
- 2.4.2-3ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:18.04:LTS
- Versions
- 2.8.6-1
- 2.9.1-1
- 2.9.4-1
- 2.9.5-1
- 2.9.8-1~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:20.04:LTS
- Versions
- 2.9.9.3-1
- 2.10.0-2
- 2.10.1-1
- 2.10.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:22.04:LTS
- Versions
- 2.12.1-1
- 2.12.5-1
- 2.13.0-1
- 2.13.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:24.04:LTS
- Versions
- 2.14.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:26.10
- Versions
- 2.14.0+ds-1build1
- 2.14.0+ds-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jackson-databind Ubuntu:26.04:LTS
- Versions
- 2.14.0+ds-1
- 2.14.0+ds-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published