# CVE-2026-89425: jackson-core: UTF8DataInputJsonParser._reportInvalidToken() missing maxErrorTokenLength limit -> unbounded StringBuilder growth (DoS)

> Attackers can cause JVM OutOfMemoryError via unbounded StringBuilder growth in jackson-core when parsing malformed tokens from DataInput sources.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Sep 2026
- **Updated:** 23 Sep 2026
- **Also known as:** CLEANSTART-2026-BS92319, CLEANSTART-2026-EJ84635, CLEANSTART-2026-EO55339, CLEANSTART-2026-FJ64827, CLEANSTART-2026-GL73276, CLEANSTART-2026-IN74238, CLEANSTART-2026-IW75914, CLEANSTART-2026-MR78444, CLEANSTART-2026-OS16605, CLEANSTART-2026-PC54131, CLEANSTART-2026-QN00727, CLEANSTART-2026-RP24841, CLEANSTART-2026-YE95301, CLSA-2026-1792428388, CLSA-2026-1792428396, CLSA-2026-1792428438, CLSA-2026-1792428490, CLSA-2026-1792428529, CLSA-2026-1792428707, CLSA-2026-1792428711, CLSA-2026-1792428725, CLSA-2026-1792428797, CLSA-2026-1792428805, CLSA-2026-1792431625, CLSA-2026-1793087399, CLSA-2026-1793087792, CLSA-2026-1793088149, CLSA-2026-1793088253, DEBIAN-CVE-2026-89425, ECHO-2fbe-a75f-db7d, GHSA-7hhh-6rmp-j9qf, MINI-2262-hv4w-gx8f, MINI-27rx-cmrf-hj7q, MINI-2g5r-4789-qf79, MINI-2r8p-5vcj-5q5f, MINI-2rww-7vjj-pmp3, MINI-2xqq-qxmm-cp2w, MINI-35m7-7rpq-ccm4, MINI-3692-ph4f-66jg, MINI-3cmj-mpj3-wp4p, MINI-3m7v-64v5-49m8, MINI-3rqp-fvv6-96r4, MINI-3xm5-5hfc-2ch8, MINI-45ff-8f9x-4cw9, MINI-52gc-g9c9-qwcf, MINI-56mv-92gf-xhq4, MINI-56xq-g2xw-xqc8, MINI-59wm-6hc3-c6cj, MINI-5f27-854q-q34x, MINI-5j92-gc2x-wj4m, MINI-5w9j-7x9v-537m, MINI-67gq-m3q5-w299, MINI-6pvh-7f5v-8jpq, MINI-6wgq-v5cw-8v34, MINI-7252-r65p-3fx8, MINI-7w2m-m5c6-r63x, MINI-7w4w-4r6q-wcpj, MINI-7xv9-4m9q-84rg, MINI-827f-pjw3-84h4, MINI-867g-397j-73h4, MINI-88q6-rw47-m7wr, MINI-8qxc-7mjq-jwcj, MINI-8w98-3635-4rv8, MINI-9fgm-6mr2-292r, MINI-9hhm-5284-4ff9, MINI-9ppm-9g6c-v7f9, MINI-9vhf-vxvj-gwgc, MINI-c7cm-4xjf-fv9h, MINI-c99p-3xwj-73vr, MINI-cm99-7534-hqmq, MINI-cmxc-m795-rq33, MINI-f2ph-v43j-g5g7, MINI-f35c-3hm2-g665, MINI-f3q3-cjp7-f3vx, MINI-f5qf-46r6-pfpg, MINI-f62j-p9mp-665f, MINI-f6f4-xhcv-g33g, MINI-f86v-v2r9-fm5q, MINI-fcjw-6h4w-pgfr, MINI-fgvr-76j6-28j4, MINI-gp7h-9r77-f84j, MINI-gq95-gf4g-rfm2, MINI-grwr-pv57-vxpj, MINI-grxc-mq4m-jxxr, MINI-h2fc-3852-p6qf, MINI-hf4r-q429-jwjj, MINI-hfm2-cmcv-jghw, MINI-hgrp-3v6w-636g, MINI-hhw2-rjvr-8c8h, MINI-hm38-5357-7wqj, MINI-hwg6-4vm3-j3cm, MINI-hxmx-8hjf-cfc2, MINI-jfjc-324x-p45j, MINI-jmf8-gj2w-p97x, MINI-jphx-mrr6-g373, MINI-jvfc-c9f8-6r38, MINI-jvj9-j5h4-74g2, MINI-jxxp-hv66-8vhx, MINI-mpmq-w93w-p8gh, MINI-mq43-j2hp-vc93, MINI-pc74-phm4-w3hg, MINI-pf34-rr2j-ghg9, MINI-pggf-jc44-56wf, MINI-pjqx-vvqf-r69g, MINI-q7cf-jj4c-qr3p, MINI-qcvc-86jq-8983, MINI-qrmh-qjmq-45rj, MINI-r4p3-gcv3-fpjf, MINI-r55m-88qm-9vfx, MINI-r925-458f-6p7x, MINI-rj9p-gxr4-wrj3, MINI-vf3x-w4h8-q2qv, MINI-vh82-qjx5-5qhv, MINI-vj82-3pch-q7pp, MINI-vrv7-hrxm-wgg4, MINI-wc8g-5gpc-mrwf, MINI-wgh5-2g74-wg5g, MINI-wr67-5f74-f3rv, MINI-wxjq-2vvm-fq88, MINI-x2vg-38xv-2m3x, MINI-x453-3x2c-pvwh, MINI-xmq5-2ggf-g6r7, ROOT-APP-MAVEN-CVE-2026-89425, UBUNTU-CVE-2026-89425

## What is CVE-2026-89425?

CVE-2026-89425 is a high-severity denial of service vulnerability in FasterXML jackson-core, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling), CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-89425?

10 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-core and tools.jackson.core:jackson-core.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `com.fasterxml.jackson.core:jackson-core` | Maven | From 2.19.0 | 2.21.7 |
| `com.fasterxml.jackson.core:jackson-core` | Maven | From 2.19.0 | 2.21.7 |
| `com.fasterxml.jackson.core:jackson-core` | Maven | From 2.22.0 | 2.22.3 |
| `com.fasterxml.jackson.core:jackson-core` | Maven | From 2.22.0 | 2.22.3 |
| `com.fasterxml.jackson.core:jackson-core` | Maven | From 2.8.0 | 2.18.11 |
| `com.fasterxml.jackson.core:jackson-core` | Maven | From 2.8.0 | 2.18.11 |
| `tools.jackson.core:jackson-core` | Maven | From 3.0.0 | 3.1.7 |
| `tools.jackson.core:jackson-core` | Maven | From 3.0.0 | 3.1.7 |
| `tools.jackson.core:jackson-core` | Maven | From 3.2.0 | 3.2.3 |
| `tools.jackson.core:jackson-core` | Maven | From 3.2.0 | 3.2.3 |

## How do I fix CVE-2026-89425?

Upgrade com.fasterxml.jackson.core:jackson-core to a fixed version for your release line: 2.21.7, 2.22.3 or 2.18.11.

## Is CVE-2026-89425 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-89425 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-89425 and fix it if it is affected.

What it is: CVE-2026-89425 is a high-severity denial of service vulnerability in FasterXML jackson-core, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-89425 exists.

Affected packages and fixed versions:
- com.fasterxml.jackson.core:jackson-core (Maven): affected from 2.19.0; fixed in 2.21.7
- com.fasterxml.jackson.core:jackson-core (Maven): affected from 2.19.0; fixed in 2.21.7
- com.fasterxml.jackson.core:jackson-core (Maven): affected from 2.22.0; fixed in 2.22.3
- com.fasterxml.jackson.core:jackson-core (Maven): affected from 2.22.0; fixed in 2.22.3
- com.fasterxml.jackson.core:jackson-core (Maven): affected from 2.8.0; fixed in 2.18.11
- com.fasterxml.jackson.core:jackson-core (Maven): affected from 2.8.0; fixed in 2.18.11
- tools.jackson.core:jackson-core (Maven): affected from 3.0.0; fixed in 3.1.7
- tools.jackson.core:jackson-core (Maven): affected from 3.0.0; fixed in 3.1.7
- tools.jackson.core:jackson-core (Maven): affected from 3.2.0; fixed in 3.2.3
- tools.jackson.core:jackson-core (Maven): affected from 3.2.0; fixed in 3.2.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-89425/ (Markdown: https://insights.sbomify.com/CVE-2026-89425/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-89425
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-89425
- OSV: https://osv.dev/vulnerability/CVE-2026-89425

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-89425/
Summaries are generated and may contain mistakes; the official description above is the record.
