Skip to main content

CVE-2026-91776 — Vulnerability in jackson-databind — CVE Details

HIGH

jackson-databind retains every unknown raw type ID

Published September 30, 2026Updated September 30, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.57%). Schedule for your next planned update.

Does your project use an affected tools.jackson.core:jackson-databind version?

Paste your pom.xml to check it for CVE-2026-91776 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Summary

With @JsonTypeInfo(use = Id.NAME, defaultImpl = ...), every distinct unknown raw type ID selects the same fallback deserializer but is retained as a separate key in TypeDeserializerBase._deserializers. An attacker who can repeatedly supply new unknown type IDs can grow this process-lifetime cache without a configured bound.

Details

The affected path is TypeDeserializerBase._findDeserializer(). After an unknown name-based type ID resolves to the configured fallback/default implementation, jackson-databind caches the result under the attacker-provided raw typeId. Although all such IDs select the same fallback deserializer, each new string remains a distinct cache key.

The behavior is runtime-confirmed in jackson-databind 2.22.1 and 3.2.1. Current 2.22 and 3.2 source branches retained the unbounded _deserializers map and per-raw-ID cache write when rechecked. The earlier affected floor has not been established, patched versions are: 2.18.11, 2.21.7, 2.22.3, 3.1.7 and 3.2.3.

The vulnerable application must enable name-based polymorphism with a defaultImpl or equivalent fallback, accept attacker-influenced type IDs, and reuse a long-lived mapper/type deserializer across requests.

Suggested correction: avoid caching each unknown raw ID when every such ID resolves to the same fallback, use a fallback sentinel, or use an explicitly bounded concurrency-safe cache. A regression should contrast many distinct unknown IDs with repetitions of one unknown ID across requests.

PoC

Configure a polymorphic base type with @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, defaultImpl = Fallback.class) and deserialize inputs containing unknown type names through the same mapper. Inspect TypeDeserializerBase._deserializers after the run.

On affected 2.x and 3.x versions, 10,000 distinct unknown raw type IDs produce 10,000 retained cache entries even though every input selects the same fallback deserializer. A matched control that repeats one unknown ID 10,000 times produces one retained entry. This isolates attacker-controlled key cardinality from ordinary request count.

Impact

Where the stated polymorphic fallback configuration is exposed to attacker-influenced type IDs, distinct inputs cause incremental process-lifetime memory retention and eventual availability pressure or denial of service. This is not claimed as a single-request allocation spike, and no fixed bytes-per-ID or time-to-out-of-memory value is asserted. No confidentiality, integrity, or code-execution impact is claimed.

Requested credit: Daniel Birtwhistle

Advisory Timeline

  • First published September 30, 2026 (57 days ago).
  • Last revised September 30, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update tools.jackson.core:jackson-databind to 3.1.7 or later
<!-- Update pom.xml dependency version to 3.1.7 for tools.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.18.11 or later
<!-- Update pom.xml dependency version to 2.18.11 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.21.7 or later
<!-- Update pom.xml dependency version to 2.21.7 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update tools.jackson.core:jackson-databind to 3.2.3 or later
<!-- Update pom.xml dependency version to 3.2.3 for tools.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.22.3 or later
<!-- Update pom.xml dependency version to 2.22.3 for com.fasterxml.jackson.core:jackson-databind -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: Maven (2).

PackageFixed In
tools.jackson.core:jackson-databind Maven · Affected: 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+9 more)3.1.7
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.1, 2.0.2, 2.0.4 (+205 more)2.18.11
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.19.0, 2.19.1, 2.19.2, 2.19.3 (+12 more)2.21.7
tools.jackson.core:jackson-databind Maven · Affected: 3.2.0, 3.2.1, 3.2.23.2.3
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.22.0, 2.22.1, 2.22.22.22.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2026-91776?
jackson-databind retains every unknown raw type ID. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-91776?
CVE-2026-91776 affects tools.jackson.core:jackson-databind and com.fasterxml.jackson.core:jackson-databind. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-91776 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.57%
EPSS percentile: 40.9

This is a below-median EPSS score — only 40.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-wv8q-qhhj-9h54

Related CVEs

  • CVE-2026-91777
    HIGH

    jackson-databind quadratic forward-reference completion

  • CVE-2026-54512
    HIGH

    jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation

  • CVE-2026-54513
    HIGH

    jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)

  • CVE-2026-59889
    MEDIUM

    jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization

  • CVE-2026-54515
    MEDIUM

    jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties

  • CVE-2026-54514
    MEDIUM

    jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)

  • CVE-2026-77310
    MEDIUM

    jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization

  • CVE-2026-19032
    MEDIUM

    jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml