| Title | java-json-tools jackson-coreutils 2.0 BigDecimal Amplification DoS |
|---|
| Description | BigDecimal Amplification DoS via Default WRITE_BIGDECIMAL_AS_PLAIN Configuration
The library's default ObjectMapper configuration enables both USE_BIG_DECIMAL_FOR_FLOATS and WRITE_BIGDECIMAL_AS_PLAIN. When any application parses untrusted JSON containing large-exponent numbers (e.g., 1e100000) through this library's mapper and later serializes the result, BigDecimal.toPlainString() allocates a string proportional to the exponent value — causing massive memory amplification and OutOfMemoryError.
This vulnerability does NOT require SSRF. Any direct JSON input (HTTP request body, uploaded file, message queue payload) triggers it. |
|---|
| Source | ⚠️ https://github.com/java-json-tools/jackson-coreutils/issues/65 |
|---|
| User | York Shen - Yong Shen - PayPal Cyber Security Team (UID 100171) |
|---|
| Submission | 07/29/2026 06:46 (2 months ago) |
|---|
| Moderation | 09/07/2026 20:54 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399664 [java-json-tools jackson-coreutils 2.0 JacksonUtils.java BigDecimal.toPlainString resource consumption] |
|---|
| Points | 20 |
|---|