UBUNTU-CVE-2026-54512

Source
https://ubuntu.com/security/CVE-2026-54512
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-54512
Upstream
Published
2026-06-23T21:17:00Z
Modified
2026-06-25T17:17:44Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.10.0 until 2.18.8, 2.21.4, and 3.1.4, jackson-databind's PolymorphicTypeValidator (PTV) is the primary safety mechanism guarding polymorphic deserialization. When polymorphic typing is enabled and a type identifier contains generic parameters (i.e. the type ID string contains <), DatabindContext._resolveAndValidateGeneric() validates only the raw container class name (the substring before <) against the configured PTV. If the container type is approved, the method parses the full canonical type string via TypeFactory.constructFromCanonical() and returns the fully parameterized type without ever validating the nested type arguments against the PTV. The nested type arguments are then resolved, instantiated, and populated as beans during deserialization. An attacker who controls the type ID can therefore place a denied class as a generic type parameter of an allowed container — for example java.util.ArrayList<com.evil.Gadget> when only java.util.ArrayList is allow-listed. The container passes the PTV check; com.evil.Gadget is loaded via Class.forName(name, true, loader), instantiated, and its properties are set from attacker-controlled JSON. This completely bypasses an explicitly configured PTV allow-list. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.

References

Affected packages

Ubuntu:18.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.6-1
2.9.1-1
2.9.4-1
2.9.5-1
2.9.8-1~18.04

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.9.8-1~18.04"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:20.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.9.9.3-1
2.10.0-2
2.10.1-1
2.10.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.10.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:22.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.12.1-1
2.12.5-1
2.13.0-1
2.13.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.13.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:24.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.14.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.14.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:25.10
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.14.0+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.14.0+ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:26.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.14.0+ds-1
2.14.0+ds-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.14.0+ds-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:Pro:14.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.2-1
2.2.2-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.2.2-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"
Ubuntu:Pro:16.04:LTS
jackson-databind

Package

Name
jackson-databind
Purl
pkg:deb/ubuntu/jackson-databind?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.4.2-2
2.4.2-3
2.4.2-3ubuntu0.1~esm1
2.4.2-3ubuntu0.1~esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjackson2-databind-java",
            "binary_version": "2.4.2-3ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54512.json"