# CVE-2026-137408

- Bağlantı: https://www.allsafe.com.tr/cve-2026-137408/
- Yayımlanma: 2026-12-04T17:18:09+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137408)
