CVE-2026-137408
Received Received - Intake

Denial of Service in Eclipse Yasson via BigNumber Parsing

Vulnerability report for CVE-2026-137408, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: Eclipse Foundation

Description

In Eclipse Yasson versions 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6, the deserializers for `BigInteger`, `BigDecimal`, `Number` and untyped targets (`Object`, `Map<String,Object>`) take the raw JSON number token as a string and pass it to `new BigDecimal(String)` / `new BigInteger(String)` without any length limit. These constructors have quadratic cost in the number of digits, so a single JSON number or quoted digit string of a few hundred KB to 1 MB can occupy a thread for several seconds to about 10 seconds. The number-length limit that Parsson added for CVE-2023-4043 (default 1100 characters) is enforced only in `JsonParser.getBigDecimal()`, which Yasson does not call on these paths, so it does not mitigate the issue. A remote, unauthenticated attacker who can send JSON to an application that binds it to one of these types without prior validation can cause denial of service through CPU exhaustion. This issue is fixed in 1.0.12, 2.0.5, and 3.0.7 versions by introducing a default maximum length of 1,100 characters for BigInteger/BigDecimal and scale of 100,000 for BigDecimal. These defaults are configurable via JsonbConfig properties or system properties, `yasson.max-big-number-length` and `yasson.max-big-number-scale` respectively. Yasson 2.0.X and 1.0.X artifacts where previously published to the `org.eclipse` group id. The 2.0.5 and 1.0.12 artifacts have been published to the currently used `org.eclipse.yasson` group id.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
Eclipse Foundation Eclipse Yasson From 1.0 (inc) to 1.0.11 (inc)
Eclipse Foundation Eclipse Yasson From 2.0 (inc) to 2.0.4 (inc)
Eclipse Foundation Eclipse Yasson From 3.0 (inc) to 3.0.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-407 An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Eclipse Yasson versions 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6. It involves deserializers for BigInteger, BigDecimal, Number, and untyped targets processing raw JSON number tokens without length limits. The constructors used have quadratic computational complexity, so large JSON numbers (hundreds of KB to 1 MB) can cause CPU exhaustion and denial of service.

Detection Guidance

To detect this vulnerability, monitor for unusually high CPU usage during JSON parsing operations, particularly when processing large numbers. Check application logs for deserialization failures or timeouts. Use tools like Wireshark to inspect incoming JSON payloads for excessively long numeric values (hundreds of KB to 1 MB).

Commands to check Yasson versions: mvn dependency:tree | grep yasson or java -cp <path> org.eclipse.yasson.YassonVersion. Inspect JSON payloads for numbers exceeding 1,100 characters.

Impact Analysis

A remote, unauthenticated attacker could send malicious JSON payloads to an application using affected Yasson versions. This would cause CPU exhaustion, leading to degraded performance or complete denial of service for the application.

Mitigation Strategies

Upgrade to fixed versions: 1.0.12, 2.0.5, or 3.0.7. If upgrading is not possible, configure Yasson to enforce maximum number length via system properties: -Dyasson.max-big-number-length=1100 -Dyasson.max-big-number-scale=100000. Validate all incoming JSON payloads to reject numbers exceeding these limits.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137408. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...