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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 04 Dec 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-400
CWE-407
CWE-770
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-12-04T13:18:09.995Z

Reserved: 2026-11-26T08:47:30.124Z

Link: CVE-2026-137408

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses