cve.bz

CVE-2026-27601 underscorejs underscore

8.2 highExploit referenceEPSS 1.1%Fix available

High (8.2) in underscorejs underscore. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in underscore 1.13.8.

On this page
Underscore.js is a utility-belt library for JavaScript. Prior to 1.13.8, the _.flatten and _.isEqual functions use recursion without a depth limit. Under very specific conditions, detailed below, an attacker could exploit this in a Denial of Service (DoS) attack by triggering a stack overflow. Untrusted input must be used to create a recursive datastructure, for example using JSON.parse, with no enforced depth limit. The datastructure thus created must be passed to _.flatten or _.isEqual. In the case of _.flatten, the vulnerability can only be exploited if it is possible for a remote client to prepare a datastructure that consists of arrays at all levels AND if no finite depth limit is passed as the second argument to _.flatten. In the case of _.isEqual, the vulnerability can only be exploited if there exists a code path in which two distinct datastructures that were submitted by the same remote client are compared using _.isEqual. For example, if a client submits data that are stored in a database, and the same client can later submit another datastructure that is then compared to the data that were saved in the database previously, OR if a client submits a single request, but its data are parsed twice, creating two non-identical but equivalent datastructures that are then compared. Exceptions originating from the call to _.flatten or _.isEqual, as a result of a stack overflow, are not being caught. This vulnerability is fixed in 1.13.8.

Severity

CVSS 4.0

8.2 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27601 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27601?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27601?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27601 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
underscorejs:underscorebefore 1.13.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qpx9-hpmf-5gmwnpmunderscore<1.13.81.13.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13underscoreno fix listedDEBIAN-CVE-2026-27601
Debian14underscore1.13.8~dfsg+~1.13.0-1DEBIAN-CVE-2026-27601
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 1 moreruby-rails-assets-underscoreno fix listedUBUNTU-CVE-2026-27601
openSUSELeap 16.0agama-web-ui17+673.b97ba64d6-160000.12.1openSUSE-SU-2026:21448-1
openSUSETumbleweedpython-bqplot0.12.45-14.1openSUSE-SU-2026:10424-1
openSUSETumbleweedpython-ipympl0.9.7-17.1openSUSE-SU-2026:10427-1
openSUSETumbleweedpython-nbclassic1.3.3-1.1openSUSE-SU-2026:10440-1
openSUSETumbleweedvelociraptor0.76.7.0.git145.b60ef1146-1.1openSUSE-SU-2026:12070-1
Azure Linux2cyrus-saslno fix listedAZL-79320
Azure Linux2cyrus-sasl-bootstrapno fix listedAZL-79323
Azure Linux2python-sphinxno fix listedAZL-79401
Azure Linux2python-sqlalchemyno fix listedAZL-79404
Azure Linux2rsyslogno fix listedAZL-79434
Azure Linux3boostno fix listedAZL-79313
Azure Linux3cyrus-saslno fix listedAZL-79340
Azure Linux3cyrus-sasl-bootstrapno fix listedAZL-79343
Azure Linux3krb5no fix listedAZL-79397
Azure Linux3numpyno fix listedAZL-79427
Azure Linux3rsyslogno fix listedAZL-79463

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this issue, applications utilizing Underscore.js should ensure that any processing of untrusted, recursively structured data with `_.flatten` or `_.isEqual` explicitly enforces a finite depth limit. Review application code to identify and modify calls to these functions, adding appropriate depth parameters to prevent stack overflow conditions. Additionally, input validation should be implemented to sanitize untrusted data before it is processed by Underscore.js functions.

ProductPackageStateAdvisory
Red Hat Developer Hub 1.10rhdh/rhdh-hub-rhel9:1780930740Fixed 2026-06-09RHSA-2026:24841
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1776784286Fixed 2026-04-22RHSA-2026:9742
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1777903262Fixed 2026-05-05RHSA-2026:13826
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-on-clouds/aoc-azure-aap-installer-rhel9Fix deferred
Red Hat Enterprise Linux 10firefoxFix deferred
33 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27601.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON