Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-91776

HIGH 7.5EPSS 41%

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

Also known as GHSA-wv8q-qhhj-9h54

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.

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

Vulnerability facts

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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-400
Published
Modified

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

Package / productAffectedFixedSource
Maven com.fasterxml.jackson.core:jackson-databind>= 2.0.0, < 2.18.112.18.11, 2.21.7, 2.22.3osv
Maven tools.jackson.core:jackson-databind>= 3.0.0, < 3.1.73.1.7, 3.2.3osv
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

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors