# CVE-2026-91776: jackson-databind: unbounded growth of the type id cache in TypeDeserializerBase retains every unknown raw type ID

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-wv8q-qhhj-9h54
- **Published:** 2026-09-23T02:17:50.480Z
- **Modified:** 2026-09-30T15:46:18.451Z

## Who should check

- Projects that depend on Maven package com.fasterxml.jackson.core:jackson-databind (\>= 2.0.0, \< 2.18.11)
- Projects that depend on Maven package tools.jackson.core:jackson-databind (\>= 3.0.0, \< 3.1.7)
- Anyone running FasterXML jackson-databind \>= 2.0.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

## Description

TypeDeserializerBase.\_findDeserializer() in FasterXML jackson-databind caches the resolved deserializer under the raw, attacker-supplied type ID. When name-based polymorphism is configured with a fallback, for example @JsonTypeInfo(use = Id.NAME, defaultImpl = ...), every distinct unrecognized type ID resolves to the same fallback deserializer but is retained as its own key in the \_deserializers map. That map has no configurable bound and lives for the lifetime of the type deserializer, so an attacker who can repeatedly supply fresh unknown type IDs causes monotonic memory retention across requests. The reporter observed 10,000 retained entries from 10,000 distinct unknown IDs, against a single entry for a control that repeated one unknown ID the same number of times, isolating attacker-controlled key cardinality from request volume. Exploitation requires an application that enables name-based polymorphism with a defaultImpl or equivalent fallback, accepts attacker-influenced type IDs, and reuses a long-lived ObjectMapper across requests. The fix stops caching fallback resolutions for unrecognized IDs and bounds both the number of cached entries and the length of a cacheable type ID.

## Affected and fixed versions

- Maven `com.fasterxml.jackson.core:jackson-databind`: affected \>= 2.0.0, \< 2.18.11; fixed 2.18.11, 2.21.7, 2.22.3 (osv)
- Maven `tools.jackson.core:jackson-databind`: affected \>= 3.0.0, \< 3.1.7; fixed 3.1.7, 3.2.3 (osv)
- FasterXML jackson-databind: \>= 2.0.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)

## Mitigation

- Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.18.11, 2.21.7, 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: Where the polymorphic shape allows it, avoid defaultImpl or another catch-all fallback for name-based type resolution so that unrecognized type IDs fail rather than resolving, or restrict accepted type IDs with a custom TypeIdResolver that rejects unknown names before resolution. Shortening ObjectMapper or type deserializer lifetime limits accumulation but does not eliminate it.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-91776. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-91776.md
Affected: com.fasterxml.jackson.core:jackson-databind >= 2.0.0, < 2.18.11; tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.7
Fixed in: 2.18.11, 2.21.7, 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.
```

## FAQ

### Is CVE-2026-91776 being exploited?

There is no confirmed exploitation: CVE-2026-91776 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-91776?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-91776?

com.fasterxml.jackson.core:jackson-databind \>= 2.0.0, \< 2.18.11; tools.jackson.core:jackson-databind \>= 3.0.0, \< 3.1.7.

### Is there a fix for CVE-2026-91776?

Yes. Fixed in 2.18.11, 2.21.7, 2.22.3, 3.1.7, 3.2.3. Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.18.11, 2.21.7, 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: Where the polymorphic shape allows it, avoid defaultImpl or another catch-all fallback for name-based type resolution so that unrecognized type IDs fail rather than resolving, or restrict accepted type IDs with a custom TypeIdResolver that rejects unknown names before resolution. Shortening ObjectMapper or type deserializer lifetime limits accumulation but does not eliminate it.

### How do I check if I'm affected by CVE-2026-91776?

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.

## References

- vendor: <https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-wv8q-qhhj-9h54>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-91776>
- patch: <https://github.com/FasterXML/jackson-databind/issues/6203>
- patch: <https://github.com/FasterXML/jackson-databind/commit/2870d1d6dc1b7e1c07ee11dd5b04ab71cddbb577>
- other: <https://github.com/FasterXML/jackson-databind>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.11>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.7>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.3>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.7>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-91776>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wv8q-qhhj-9h54> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-91776> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-91776>
