Vulnerability details

CVE-2026-91776

FasterXML jackson-databind

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

CVSS 3.1
7.5High

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

CVSS scores

ScoreVersionSourceVector
7.5High 3.1 CVEProject cvelistV5 (CNA) (HeroDevs) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersionsSource
FasterXML jackson-databind 2.0.0 ≤ v ≤ 2.18.10 CVEProject cvelistV5 (CNA)
FasterXML jackson-databind 2.19.0 ≤ v ≤ 2.21.6 CVEProject cvelistV5 (CNA)
FasterXML jackson-databind 2.22.0 ≤ v ≤ 2.22.2 CVEProject cvelistV5 (CNA)
FasterXML jackson-databind 3.0.0 ≤ v ≤ 3.1.6 CVEProject cvelistV5 (CNA)
FasterXML jackson-databind 3.2.0 ≤ v ≤ 3.2.2 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-09-23
Last updated
2026-09-23
State
Published
Assigner (CNA)
HeroDevs

Exploit prediction (EPSS)

0.48%
Probability of exploitation in 30 days
42.1%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Partial

Weaknesses (CWE)

  • CWE-400
    Uncontrolled Resource Consumption