CVE catalog

CVE-2026-83557

DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator applied automatically whenever @JsonTypeInfo is used without an explicitly configured custom validator. It denies polymorphic resolutio

[CVE catalog]

Severity
Medium · CVSS 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.72% · Oct 25, 2026

DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator applied automatically whenever @JsonTypeInfo is used without an explicitly configured custom validator. It denies polymorphic resolution only for a fixed set of "unsafe base types", and its isSafeSubType method returns true unconditionally for every base type outside that set. java.lang.Comparable was absent from the list despite being implemented by a very large fraction of JDK and application classes, comparable in breadth to java.io.Serializable, which is on the list for that reason. An application declaring an @JsonTypeInfo-annotated property or class with Comparable as its base type, and no custom PolymorphicTypeValidator, will accept a type identifier for essentially any class implementing Comparable. This yields an attacker-controlled object instantiation primitive; a demonstrated case constructs a java.io.File for an arbitrary attacker-chosen path, which becomes path-traversal-adjacent if the application subsequently calls path-sensitive methods on the value. No class implementing Comparable has been identified that yields code execution through deserialization alone. Global Default Typing via activateDefaultTyping is not affected, because that method structurally requires an explicit PolymorphicTypeValidator argument. This affects com.fasterxml.jackson.core:jackson-databind from 2.11.0 before 2.18.10, from 2.19.0 before 2.21.6, and from 2.22.0 before 2.22.2, and tools.jackson.core:jackson-databind from 3.0.0 before 3.1.6 and from 3.2.0 before 3.2.2. Users should upgrade to 2.18.10, 2.21.6, 2.22.2, 3.1.6, or 3.2.2.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjackson-databindsid2.22.4-1fixed
Debianjackson-databindforky2.18.11-1fixed
Debianjackson-databindtrixie2.14.0+ds-1+deb13u1vulnerable
Debianjackson-databindtrixie-security2.14.0+ds-1+deb13u1vulnerable
Debianjackson-databindbookworm2.14.0-1+deb12u1vulnerable
Debianjackson-databindbookworm-security2.14.0-1+deb12u1vulnerable
Maventools.jackson.core:jackson-databindNot reported3.2.2fixed
Mavencom.fasterxml.jackson.core:jackson-databindNot reported2.22.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjackson-databindsourcesid2.18.11-1not yet assignedNot reported[1146640]
Debianjackson-databindsourceforky2.18.11-1not yet assignedNot reported[1146640]
Debianjackson-databindsourcetrixie(unfixed)not yet assignedNot reported[1146640]
Debianjackson-databindsourcebookworm(unfixed)not yet assignedNot reported[1146640]
Maventools.jackson.core:jackson-databindmavenNot reported3.2.2Not reportedGHSA-GX83-3VF8-GH7JNot reported
Mavencom.fasterxml.jackson.core:jackson-databindmavenNot reported2.22.2Not reportedGHSA-GX83-3VF8-GH7JNot reported

[Debian bug #1146640]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [jackson-databind]

    Details (4)
    • 2.14.0-1+deb12u1 · all · bookworm

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

    • 2.14.0-1+deb12u1 · all · bookworm

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

    • 2.14.0-1+deb12u1 · all · bookworm-security

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

    • 2.14.0-1+deb12u1 · all · bookworm-security

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

[Debian 13 (Trixie)]

  • Source package: [jackson-databind]

    Details (4)
    • 2.14.0+ds-1+deb13u1 · all · trixie

      Affected

      nvd · jackson-databind · debian · 13

    • 2.14.0+ds-1+deb13u1 · all · trixie

      Affected

      nvd · jackson-databind · debian · 13

    • 2.14.0+ds-1+deb13u1 · all · trixie-security

      Affected

      nvd · jackson-databind · debian · 13

    • 2.14.0+ds-1+deb13u1 · all · trixie-security

      Affected

      nvd · jackson-databind · debian · 13

Observed:

References