CVE-2026-91776jackson-databind: unbounded growth of the type id cache in TypeDeserializerBase retains…
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 26.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 24.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 22.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 20.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 18.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 16.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Ubuntu 14.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-91776 | |
| Debian 14 | jackson-databind | Fixed | 2.18.11-1 | DEBIAN-CVE-2026-91776 |
| Debian 13 | jackson-databind | Fix pending | DEBIAN-CVE-2026-91776 | |
| Debian 12 | jackson-databind | Fix pending | DEBIAN-CVE-2026-91776 | |
| Red Hat Enterprise Linux 10 | assertj-core | Under investigation | ||
| Red Hat Enterprise Linux 10 | assertj-core-javadoc | Under investigation | ||
| Red Hat Enterprise Linux 10 | dogtag-pki | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-acme | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-base | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-ca | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-java | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-kra | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-server | Under investigation | ||
| Red Hat Enterprise Linux 10 | idm-pki-tools | Under investigation | ||
| Red Hat Enterprise Linux 10 | python3-idm-pki | Under investigation | ||
| Red Hat Enterprise Linux 9 | assertj-core | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-acme | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-base | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-ca | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-est | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-java | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-kra | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-server | Under investigation | ||
| Red Hat Enterprise Linux 9 | idm-pki-tools | Under investigation | ||
| Red Hat Enterprise Linux 9 | jackson-databind | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-acme | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-base | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-base-java | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-ca | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-core | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-jackson-databind | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-kra | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-server | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-symkey | Under investigation | ||
| Red Hat Enterprise Linux 9 | pki-tools | Under investigation | ||
| Red Hat Enterprise Linux 9 | python3-idm-pki | Under investigation | ||
| Red Hat Enterprise Linux 9 | python3-pki | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-jss | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-jss-javadoc | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk-javadoc | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-acme | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-base | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-base-java | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-ca | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-kra | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-server | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-symkey | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-pki-tools | Under investigation | ||
| Red Hat Enterprise Linux 8 | idm-tomcatjss | Under investigation | ||
| Red Hat Enterprise Linux 8 | jss | Under investigation | ||
| Red Hat Enterprise Linux 8 | jss-javadoc | Under investigation | ||
| Red Hat Enterprise Linux 8 | ldapjdk | Under investigation | ||
| Red Hat Enterprise Linux 8 | ldapjdk-javadoc | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-acme | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-base | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-base-java | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-ca | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-core | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-kra | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-server | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-symkey | Under investigation | ||
| Red Hat Enterprise Linux 8 | pki-tools | Under investigation | ||
| Red Hat Enterprise Linux 8 | python3-idm-pki | Under investigation | ||
| Red Hat Enterprise Linux 8 | python3-pki | Under investigation | ||
| Red Hat Enterprise Linux 8 | resteasy | Under investigation | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Under investigation | ||
| Red Hat Enterprise Linux 8 | tomcatjss | Under investigation | ||
| Maven library | com.fasterxml.jackson.core:jackson-databind | Fixed | 2.22.3 | GHSA-wv8q-qhhj-9h54 |
| Maven library | tools.jackson.core:jackson-databind | Fixed | 3.1.7 | GHSA-wv8q-qhhj-9h54 |
What the vendor says
As published in the CVE record by HeroDevs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FasterXML jackson-databind: affected: 2.0.0 to 2.18.10, 2.19.0 to 2.21.6, 2.22.0 to 2.22.2
- FasterXML jackson-databind: affected: 3.0.0 to 3.1.6, 3.2.0 to 3.2.2
Solution: Upgrade to com.fasterxml.jackson.core:jackson-databind 2.18.11, 2.21.7 or 2.22.3, or to tools.jackson.core:jackson-databind 3.1.7 or 3.2.3. Lines 2.0.x through 2.17.x, 2.19.x, 2.20.x and 3.0.x received no fix on their own branch and are no longer maintained upstream.
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.
Vendor advisories:
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-wv8q-qhhj-9h54 (vendor-advisory)
- https://github.com/FasterXML/jackson-databind/issues/6203 (patch)
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-wv8q-qhhj-9h54
- https://github.com/FasterXML/jackson-databind/issues/6203
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.