CVE-2026-91776

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

En bref

Sévérité
HIGH 7.5
EPSS
EPSS 0.49 % · centile 42 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
HeroDevs
Statut NVD
Deferred

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.

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHeroDevs
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 36c7be3b-2937-45df-85ea-ca7133ea542c (Secondary)

Faiblesses (CWE)

Avis

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
FasterXML · jackson-databindaffected 2.0.0 ≤ 2.18.10 ; affected 2.19.0 ≤ 2.21.6 ; affected 2.22.0 ≤ 2.22.2
FasterXML · jackson-databindaffected 3.0.0 ≤ 3.1.6 ; affected 3.2.0 ≤ 3.2.2

Références

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD