CVE-2026-137408

8.7High

Published Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.7CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-400, CWE-407, CWE-770

What an attacker gets

Unauthenticated attackers can trigger CPU exhaustion by sending specially crafted JSON payloads. This leads to a denial of service by locking up application threads.

Root cause

The library lacks length limits when converting JSON number strings to BigInteger or BigDecimal, causing quadratic computational complexity.

Affected versions

Eclipse Yasson 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6.

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to Yasson 1.0.12, 2.0.5, or 3.0.7. If you cannot upgrade, set the system properties 'yasson.max-big-number-length' and 'yasson.max-big-number-scale' to enforce limits.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137408

More fully triaged vulnerabilities you may want to check next.