PT-2026-22841 · Unknown+1 · Underscore.Js+1

·

CVE-2026-27601

·

Published

2026-02-18

·

Updated

2026-08-26

CVSS v4.0

8.2

High

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Underscore.js versions prior to 1.13.8
Description The .flatten and .isEqual functions use recursion without a depth limit, which can lead to a stack overflow and a Denial of Service (DoS). This occurs when untrusted input is used to create a recursive data structure (for example, via JSON.parse) without an enforced depth limit, and this structure is then passed to the affected functions. For .flatten, the issue is exploitable if the data structure consists of arrays at all levels and no finite depth limit is provided as the second argument. For .isEqual, the issue is exploitable if two distinct data structures submitted by the same remote client are compared. Stack overflow exceptions resulting from these calls are not caught, potentially causing the application to crash.
Recommendations Update Underscore.js to version 1.13.8 or later. Enforce a depth limit (e.g., 100 to 1000 levels) on data structures created from untrusted input. As a temporary workaround for .flatten, pass a second argument that limits the flattening depth to 1000 or less.

Exploit

Fix

DoS

Uncontrolled Recursion

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-79313
AZL-79320
AZL-79323
AZL-79340
AZL-79343
AZL-79397
AZL-79401
AZL-79404
AZL-79427
AZL-79434
AZL-79463
BDU:2026-11376
CLEANSTART-2026-CE10526
CLEANSTART-2026-DV49099
CLEANSTART-2026-GS57401
CLEANSTART-2026-NB51079
CLEANSTART-2026-OW14933
CLEANSTART-2026-SW34937
CVE-2026-27601
ECHO-0638-253E-D3EC
GHSA-QPX9-HPMF-5GMW
OESA-2026-1578
OESA-2026-1579
OESA-2026-1580
OESA-2026-1581
OPENSUSE-SU-2026:10424-1
OPENSUSE-SU-2026:10427-1
OPENSUSE-SU-2026:10440-1
OPENSUSE-SU-2026:21448-1

Affected Products

Confluence
Underscore.Js