Asymmetric Resource Consumption (Amplification) Affecting devalue package, versions >=5.1.0 <5.6.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-DEVALUE-14982189
  • published16 Jan 2026
  • disclosed15 Jan 2026
  • creditJoachim Viide

Introduced: 15 Jan 2026

CVE-2026-22775  (opens in a new tab)
CWE-405  (opens in a new tab)

How to fix?

Upgrade devalue to version 5.6.2 or higher.

Overview

devalue is a JSON.stringify, but handles cyclical references, repeated references, undefined, regular expressions, dates, Map and Set.

Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) due to the improper validation in ArrayBuffer if input string is base64 encoded in the hydration() function when parsing data from untrusted sources. An attacker can cause excessive memory allocation and CPU usage by submitting specially crafted input, potentially leading to resource exhaustion and service disruption.

CVSS Base Scores

version 4.0
version 3.1