Skip to content

CVE-2026-91777 com.fasterxml.jackson.core:jackson-databind #53388

Closed

Description

@stianst
  • Severity: high
  • CVE ID: CVE-2026-91777
  • CVE Status: PUBLISHED
  • Package: com.fasterxml.jackson.core:jackson-databind
  • Title: jackson-databind: quadratic forward-reference completion in Collection and Map deserializers
  • Published: 2026-09-23T02:21:48.323Z
  • Affects: release/26.8, release/26.7, release/26.6, main
  • Installed versions: 2.21.5, 2.22.2, 2.22.1
  • Fixed versions: 2.22.3, 2.21.7, 2.18.11

Affected targets

misc/test-stability/pom.xml

Description

Forward-reference completion for @JsonIdentityInfo object IDs in FasterXML jackson-databind performs a linear scan of the pending-reference accumulator for every resolved ID. The affected paths are CollectionDeserializer.CollectionReferringAccumulator.resolveForwardReference() and the equivalent implementation in MapDeserializer. When a document first creates N unresolved object-ID references in an identity-enabled collection or map and then defines those same IDs in reverse order, completion performs on the order of N * (N + 1) / 2 identity comparisons, so a shallow document whose size grows linearly causes quadratic CPU work during deserialization. The reporter instrumented equals() calls on the ID class and measured exactly 2,003,000 comparisons at N = 2,000, against zero comparisons in the pending-reference lookup path for an equally sized control in which every reference was already resolved. The input requires no deep nesting and no syntactically unusual JSON. Exploitation requires an application that deserializes attacker-influenced JSON into an identity-enabled collection or map. The fix replaces the repeated linear lookup with a keyed pending-reference structure.

Declared In

io.quarkus.platform:quarkus-bom:3.40.1

Activity

  1. added
    area/dependencies
    kind/cve
    on Oct 1, 2026
  2. added theissue type on Oct 1, 2026
  3. 14 remaining items

  4. mabartos commented on Oct 20, 2026

    @mabartos
    Member

    [26.4] @stianst I believe there should also be changes to the misc/test-stability for the 26.4 branch.

    The Quarkus version for the 26.4 branch is 3.27.6, which already contains the fixed dependency with version 2.21.7.

    So, the only thing is to check the misc/test-stability.

  5. stianst commented on Nov 9, 2026

    @stianst
    ContributorAuthor

    @mabartos 26.4 is soon EOL, so we won't be updating this one since it's a deprecated test util.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

No fields configured for cve.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions