# CVE-2026-91777: jackson-databind: quadratic forward-reference completion in Collection and Map deserializers

- Severity: High 7.5 (CVSS:3.1, scored by HeroDevs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T02:21:48.323Z
- Modified: 2026-09-30T15:46:18.051Z
- Also known as: GHSA-cxp5-3px4-pw24
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: HeroDevs

## 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.

(As written by CVE List.)

## Affected

- com.fasterxml.jackson.core:jackson-databind: from 2.5.0 up to 2.18.10; from 2.19.0 up to 2.21.6; from 2.22.0 up to 2.22.2
- tools.jackson.core:jackson-databind: from 3.0.0 up to 3.1.6; from 3.2.0 up to 3.2.2
- com.fasterxml.jackson.core:jackson-databind (Maven): from 2.19.0 before 2.21.7; from 2.5.0 before 2.18.11; from 2.22.0 before 2.22.3
- tools.jackson.core:jackson-databind (Maven): from 3.0.0 before 3.1.7; from 3.2.0 before 3.2.3

## Every score

- HeroDevs: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `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-pw24> (exploit, vendor-advisory, web)
- <https://github.com/FasterXML/jackson-databind/issues/6204> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-91777> (advisory)
- <https://github.com/FasterXML/jackson-databind/pull/6204> (web)
- <https://github.com/FasterXML/jackson-databind/commit/37ad9b81712cbb9fb62c2d2c1813593252a24b67> (web)
- <https://github.com/FasterXML/jackson-databind> (package)
- <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.11> (web)
- <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.7> (web)
- <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.3> (web)
- <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.7> (web)
- <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.3> (web)

## Sources

- CVE List: [CVE-2026-91777](https://www.cve.org/CVERecord?id=CVE-2026-91777), CVE Terms of Use, modified 2026-09-23
- GitHub Advisory Database: [GHSA-cxp5-3px4-pw24](https://github.com/advisories/GHSA-cxp5-3px4-pw24), CC-BY-4.0, modified 2026-09-30
- NVD: [CVE-2026-91777](https://nvd.nist.gov/vuln/detail/CVE-2026-91777), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-91777 · Whole record: https://cve.day/CVE-2026-91777.json · Rebuilt by cve.day 2026-11-25T22:59:40.573Z
