---
id: CVE-2026-89425
title: >-
  UTF8DataInputJsonParser._reportInvalidToken() in FasterXML jackson-core builds
  the offending-token text for its error message by appending Java identifier
  characters to a StringBuilder in a loop that has no upper bound
summary: >-
  UTF8DataInputJsonParser._reportInvalidToken() in FasterXML jackson-core builds
  the offending-token text for its error message by appending Java identifier
  characters to a StringBuilder in a loop that has no upper bound. Unlike the
  three …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-770
  - CWE-1050
vendor: FasterXML
product: 'com.fasterxml.jackson.core:jackson-core'
affected:
  - 'com.fasterxml.jackson.core:jackson-core >= 2.8.0 <= 2.18.10'
  - 'com.fasterxml.jackson.core:jackson-core >= 2.19.0 <= 2.21.6'
  - 'com.fasterxml.jackson.core:jackson-core >= 2.22.0 <= 2.22.2'
  - 'tools.jackson.core:jackson-core >= 3.0.0 <= 3.1.6'
  - 'tools.jackson.core:jackson-core >= 3.2.0 <= 3.2.2'
published: '2026-09-23'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:43:32.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89425'
references:
  - url: 'https://github.com/FasterXML/jackson-core/pull/1698'
    label: 36c7be3b-2937-45df-85ea-ca7133ea542c
  - url: >-
      https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf
    label: 36c7be3b-2937-45df-85ea-ca7133ea542c
  - url: >-
      https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89425.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89425'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2539084'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89425'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89425'
  - url: >-
      https://github.com/FasterXML/jackson-core/commit/211cf2c5d91abbec38067f37efc1363cd4e88ee3
  - url: >-
      https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-2.18.11
  - url: 'https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-3.2.3'
  - url: 'https://github.com/advisories/GHSA-7hhh-6rmp-j9qf'
  - url: 'https://access.redhat.com/errata/RHSA-2026:83082'
  - url: 'https://access.redhat.com/errata/RHSA-2026:83520'
  - url: 'https://access.redhat.com/errata/RHSA-2026:84734'
  - url: 'https://access.redhat.com/errata/RHSA-2026:86706'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
  - ghsa
  - maven
epss: 0.00532
epssPercentile: 0.44773
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-23T13:54:51.050132Z'
ingestedAt: '2026-09-23T03:16:01.007Z'
aliases:
  - GHSA-7hhh-6rmp-j9qf
ecosystem: maven
patched:
  - 'com.fasterxml.jackson.core:jackson-core 2.21.7'
  - 'com.fasterxml.jackson.core:jackson-core 2.22.3'
  - 'tools.jackson.core:jackson-core 3.1.7'
  - 'tools.jackson.core:jackson-core 3.2.3'
  - 'com.fasterxml.jackson.core:jackson-core 2.18.11'
---

## Overview

UTF8DataInputJsonParser._reportInvalidToken() in FasterXML jackson-core builds the offending-token text for its error message by appending Java identifier characters to a StringBuilder in a loop that has no upper bound. Unlike the three sibling parser implementations, including UTF8StreamJsonParser, it never consults ErrorReportConfiguration.getMaxErrorTokenLength() (default 256). A malformed token supplied to a parser created through JsonFactory.createParser(DataInput) is therefore accumulated in full. No StreamReadConstraints setting mitigates this: maxDocumentLength cannot be applied to DataInput sources at all, and maxStringLength does not cover this path because the accumulation bypasses ReadConstrainedTextBuffer. The reporter measured a 20,000,109-character exception message from a 20-million-character malformed token on the DataInput path, against 367 characters for identical input on the InputStream path. Scaling the payload drives the StringBuilder, which also incurs byte-to-char expansion and internal array doubling, to many times the raw payload size and can trigger OutOfMemoryError for the whole JVM. UTF8DataInputJsonParser was introduced in 2.8.0 together with createParser(DataInput); releases before 2.8.0 do not contain the affected class.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Exploit Intelligence, OpenShift Developer Tools and Services, OpenShift Serverless, Red Hat AI Inference Server, Red Hat AMQ Broker 7, Red Hat build of Apache Camel - HawtIO 4, … · no fix planned: Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat JBoss Enterprise Application Platform 7, Red Hat OpenShift AI (RHOAI), … · updated 2026-10-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89425.json)
- **RHSA-2026:83082** · Red Hat · fixed in: Red Hat build of Quarkus 3.27.6.redhat · released 2026-10-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:83082)
- **RHSA-2026:83520** · Red Hat · fixed in: Red Hat build of Quarkus 3.33.4.redhat · released 2026-10-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:83520)
- **RHSA-2026:84734** · Red Hat · fixed in: Red Hat OpenShift AI 3.4 · released 2026-10-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:84734)
- **RHSA-2026:86706** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-10-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:86706)

## Package advisory (CVE-2026-89425)

Affected packages:

- `com.fasterxml.jackson.core:jackson-core >= 2.19.0, <= 2.21.6`
- `com.fasterxml.jackson.core:jackson-core >= 2.22.0, <= 2.22.2`
- `tools.jackson.core:jackson-core >= 3.0.0, <= 3.1.6`
- `tools.jackson.core:jackson-core >= 3.2.0, <= 3.2.2`
- `com.fasterxml.jackson.core:jackson-core >= 2.8.0, <= 2.18.10`

Patched in:

- `com.fasterxml.jackson.core:jackson-core 2.21.7`
- `com.fasterxml.jackson.core:jackson-core 2.22.3`
- `tools.jackson.core:jackson-core 3.1.7`
- `tools.jackson.core:jackson-core 3.2.3`
- `com.fasterxml.jackson.core:jackson-core 2.18.11`

Source: https://github.com/advisories/GHSA-7hhh-6rmp-j9qf
