Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-91776

jackson-databind retains every unknown raw type ID

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-10-30; check the references for anything newer.

  • Severity: High
  • CVSS 7.5
  • EPSS 0.49%
  • Public exploit
  • P2 · This week

Why P2: this week.

Description

### 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 …

Affected products

  • maven com.fasterxml.jackson.core:jackson-databind >= 2.0.0, <= 2.18.10; first patched: 2.18.11
  • maven com.fasterxml.jackson.core:jackson-databind >= 2.19.0, <= 2.21.6; first patched: 2.21.7
  • maven com.fasterxml.jackson.core:jackson-databind >= 2.22.0, <= 2.22.2; first patched: 2.22.3
  • maven tools.jackson.core:jackson-databind >= 3.0.0, <= 3.1.6; first patched: 3.1.7
  • maven tools.jackson.core:jackson-databind >= 3.2.0, <= 3.2.2; first patched: 3.2.3

References

Browse more

Maven (Java) packagesWeek 40, 2026 recap

Published 2026-09-23 · sources: GitHub Advisory Database