CVE-2026-91777
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.fasterxml.jackson.core:jackson-databindMaven | >= 2.19.0, < 2.21.7 | 2.21.7 |
tools.jackson.core:jackson-databindMaven | >= 3.0.0, < 3.1.7 | 3.1.7 |
tools.jackson.core:jackson-databindMaven | >= 3.2.0, < 3.2.3 | 3.2.3 |
com.fasterxml.jackson.core:jackson-databindMaven | >= 2.5.0, < 2.18.11 | 2.18.11 |
com.fasterxml.jackson.core:jackson-databindMaven | >= 2.22.0, < 2.22.3 | 2.22.3 |
Affected products
38- osv-coords37 versionspkg:rpm/almalinux/glassfish-fastinfosetpkg:rpm/opensuse/jackson-annotations&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/jackson-core&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/jackson-databind&distro=openSUSE%20Leap%2016.0pkg:rpm/almalinux/pki-jackson-databindpkg:rpm/almalinux/apache-commons-collectionspkg:rpm/almalinux/apache-commons-langpkg:rpm/almalinux/apache-commons-netpkg:rpm/almalinux/bea-stax-apipkg:rpm/almalinux/jackson-annotationspkg:rpm/almalinux/jackson-corepkg:rpm/almalinux/jackson-databindpkg:rpm/almalinux/jackson-jaxrs-providerspkg:rpm/almalinux/jackson-module-jaxb-annotationspkg:rpm/almalinux/jakarta-commons-httpclientpkg:rpm/almalinux/javassistpkg:rpm/almalinux/pki-servlet-enginepkg:rpm/almalinux/xerces-j2pkg:rpm/almalinux/xml-commons-apispkg:rpm/almalinux/xsompkg:maven/com.fasterxml.jackson.core/jackson-databindpkg:maven/tools.jackson.core/jackson-databindpkg:rpm/opensuse/jackson-databind&distro=openSUSE%20Tumbleweedpkg:rpm/almalinux/jackson-jaxrs-json-providerpkg:rpm/almalinux/javassist-javadocpkg:rpm/almalinux/xml-commons-resolverpkg:rpm/almalinux/xmlstreambufferpkg:rpm/almalinux/glassfish-jaxb-apipkg:rpm/almalinux/glassfish-jaxb-corepkg:rpm/almalinux/glassfish-jaxb-runtimepkg:rpm/almalinux/glassfish-jaxb-txw2pkg:rpm/almalinux/relaxngDatatypepkg:rpm/almalinux/slf4jpkg:rpm/almalinux/slf4j-jdk14pkg:rpm/almalinux/stax-expkg:rpm/almalinux/velocitypkg:rpm/almalinux/xalan-j2
< 1.2.13-9.module_el8.5.0+2577+9e95fe00+ 36 more
- (no CPE)range: < 1.2.13-9.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 2.18.11-160000.1.1
- (no CPE)range: < 2.18.11-160000.1.1
- (no CPE)range: < 2.18.11-160000.1.1
- (no CPE)range: < 2.21.6-1.el9_8.1
- (no CPE)range: < 3.2.2-10.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 2.6-21.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 3.6-3.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.2.0-16.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 2.21-1.module_el8.10.0+4235+0924958e
- (no CPE)range: < 2.21.4-1.module_el8.10.0+4329+908ad137.3
- (no CPE)range: < 2.21.4-1.module_el8.10.0+4329+908ad137.1
- (no CPE)range: < 2.21.4-1.module_el8.10.0+4235+0924958e
- (no CPE)range: < 2.21.4-2.module_el8.10.0+4235+0924958e
- (no CPE)range: < 1:3.1-28.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 3.18.1-8.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1:9.0.62-1.module_el8.10.0+3791+e0637953
- (no CPE)range: < 2.11.0-34.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.4.01-25.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 0-19.20110809svn.module_el8.5.0+2577+9e95fe00
- (no CPE)range: >= 2.19.0, < 2.21.7
- (no CPE)range: >= 3.0.0, < 3.1.7
- (no CPE)range: < 2.18.11-1.1
- (no CPE)range: < 2.21.4-1.module_el8.10.0+4235+0924958e
- (no CPE)range: < 3.18.1-8.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.2-26.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.5.4-8.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 2.2.12-8.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 2.2.11-12.module_el8.10.0+3791+e0637953
- (no CPE)range: < 2.2.11-12.module_el8.10.0+3791+e0637953
- (no CPE)range: < 2.2.11-12.module_el8.10.0+3791+e0637953
- (no CPE)range: < 2011.1-7.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.7.25-4.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.7.25-4.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.7.7-8.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 1.7-24.module_el8.5.0+2577+9e95fe00
- (no CPE)range: < 2.7.1-38.module_el8.5.0+2577+9e95fe00
Patches
Vulnerability mechanics
References
11- github.com/advisories/GHSA-cxp5-3px4-pw24ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-91777ghsaADVISORY
- github.com/FasterXML/jackson-databind/commit/37ad9b81712cbb9fb62c2d2c1813593252a24b67ghsaWEB
- github.com/FasterXML/jackson-databind/issues/6204nvdWEB
- github.com/FasterXML/jackson-databind/pull/6204ghsaWEB
- github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.11ghsaWEB
- github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.7ghsaWEB
- github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.3ghsaWEB
- github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.7ghsaWEB
- github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.3ghsaWEB
- github.com/FasterXML/jackson-databind/security/advisories/GHSA-cxp5-3px4-pw24nvdWEB
News mentions
0No linked articles in our index yet.