Allocation of Resources Without Limits or Throttling Affecting devalue package, versions >=5.6.3 <5.8.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DEVALUE-16697433
  • published15 May 2026
  • disclosed14 May 2026
  • creditkq5y

Introduced: 14 May 2026

NewCVE-2026-42570  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade devalue to version 5.8.1 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 Allocation of Resources Without Limits or Throttling in the parse function. An attacker can cause excessive memory consumption by providing specially crafted sparse arrays during deserialization.

CVSS Base Scores

version 4.0
version 3.1