CVE-2026-137408: Maven/org.eclipse/yasson vulnerability

Published Dec 4, 2026
·
Updated

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.

Affected Software

2 affected components
maven/org.eclipse/yasson>=1.0<=1.0.11, >=2.0<=2.0.4
maven/org.eclipse.yasson/yasson>=3.0<=3.0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.0.12
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.0.5
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0.7

Event History

Dec 4, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
DescriptionWeakness

Frequently Asked Questions

1

Which application endpoints are exposed?

Endpoints that accept attacker-controlled JSON and bind numeric values to BigInteger, BigDecimal, Number, Object, or Map<String,Object> are exposed if they do not validate the input before Yasson deserializes it. Exploitation is remote and does not require authentication when such an endpoint is reachable anonymously.

2

Does Parsson's default JSON number limit protect affected applications?

No. The Parsson limit is enforced through JsonParser.getBigDecimal(), but the affected Yasson deserialization paths do not call that method.

3

What versions resolve the issue?

The issue is fixed in Yasson 1.0.12, 2.0.5, and 3.0.7. These releases introduce default limits of 1,100 characters for BigInteger and BigDecimal values and a BigDecimal scale limit of 100,000.

4

What can be done before upgrading?

Validate and reject oversized JSON number tokens or quoted digit strings before they reach Yasson deserialization, especially for fields bound to the affected target types. The limits introduced in fixed releases are configurable through JsonbConfig properties or system properties.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203