Skip to main content

CVE-2026-91777 — Vulnerability in jackson-databind — CVE Details

HIGH

jackson-databind quadratic forward-reference completion

Published September 30, 2026Updated September 30, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.56%). Schedule for your next planned update.

Does your project use an affected tools.jackson.core:jackson-databind version?

Paste your pom.xml to check it for CVE-2026-91777 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Summary

When an @JsonIdentityInfo collection or map first creates N unresolved object-ID references and later resolves the same IDs in reverse order, jackson-databind scans the remaining pending-reference accumulator for each resolution. A shallow JSON document whose size grows linearly can therefore cause quadratic CPU work during deserialization.

Details

The affected path is forward-reference completion in CollectionDeserializer.CollectionReferringAccumulator.resolveForwardReference() and the corresponding map implementation. The implementation performs a linear search of the pending accumulator for every resolved object ID.

The behavior is runtime-confirmed in jackson-databind 2.5.0, 2.22.1, and 3.2.1. Current 2.22 and 3.2 source branches retained the same design when rechecked. A 2.4.0 control fails closed before successful reverse-order completion, so 2.5.0 is the conservative runtime-confirmed affected floor. The patched versions are: 2.18.11, 2.21.7, 2.22.3, 3.1.7 and 3.2.3.

The vulnerable application must deserialize attacker-influenced JSON into an identity-enabled collection or map. The issue does not require deep nesting or syntactically unusual JSON.

Suggested correction: replace repeated linear lookup/removal with a keyed pending-reference structure or another design that provides linear or amortized-linear completion. A regression should preserve input order, duplicate-ID behavior, and unresolved-ID errors while bounding reverse-order resolution work.

PoC

The proof constructs a shallow collection containing N unresolved @JsonIdentityInfo references followed by definitions of those same IDs in reverse order. Its ID class counts equals() calls, giving a deterministic work measure rather than a timing-dependent result.

With N=2,000, affected versions perform exactly 2,003,000 ID comparisons. An equally sized control in which every reference is already resolved performs zero comparisons in the pending-reference lookup path. The run is bounded to a 512 MiB JVM. The result demonstrates quadratic growth: approximately N * (N + 1) / 2 comparisons, plus fixed setup comparisons.

Impact

An unauthenticated source that can submit JSON to an application using the affected identity-enabled collection or map shape can consume quadratic CPU and exhaust a request-time or worker-capacity budget, causing denial of service. The application model/configuration prerequisite is material. No confidentiality, integrity, code-execution, or parser-depth impact is claimed.

Requested credit: Daniel Birtwhistle

Advisory Timeline

  • First published September 30, 2026 (57 days ago).
  • Last revised September 30, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update tools.jackson.core:jackson-databind to 3.1.7 or later
<!-- Update pom.xml dependency version to 3.1.7 for tools.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.21.7 or later
<!-- Update pom.xml dependency version to 2.21.7 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update tools.jackson.core:jackson-databind to 3.2.3 or later
<!-- Update pom.xml dependency version to 3.2.3 for tools.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.18.11 or later
<!-- Update pom.xml dependency version to 2.18.11 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.22.3 or later
<!-- Update pom.xml dependency version to 2.22.3 for com.fasterxml.jackson.core:jackson-databind -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: Maven (2).

PackageFixed In
tools.jackson.core:jackson-databind Maven · Affected: 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+9 more)3.1.7
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.19.0, 2.19.1, 2.19.2, 2.19.3 (+12 more)2.21.7
tools.jackson.core:jackson-databind Maven · Affected: 3.2.0, 3.2.1, 3.2.23.2.3
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.10.0, 2.10.0.pr1, 2.10.0.pr2, 2.10.0.pr3 (+164 more)2.18.11
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.22.0, 2.22.1, 2.22.22.22.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2026-91777?
jackson-databind quadratic forward-reference completion. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-91777?
CVE-2026-91777 affects tools.jackson.core:jackson-databind and com.fasterxml.jackson.core:jackson-databind. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-91777 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.56%
EPSS percentile: 40.5

This is a below-median EPSS score — only 40.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-cxp5-3px4-pw24

Related CVEs

  • CVE-2026-54512
    HIGH

    jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation

  • CVE-2026-54513
    HIGH

    jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)

  • CVE-2026-91776
    HIGH

    jackson-databind retains every unknown raw type ID

  • CVE-2026-59889
    MEDIUM

    jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization

  • CVE-2026-54515
    MEDIUM

    jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties

  • CVE-2026-54514
    MEDIUM

    jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)

  • CVE-2026-77310
    MEDIUM

    jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization

  • CVE-2026-19032
    MEDIUM

    jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml