Skip to main content

CVE-2019-1010266 — Vulnerability in lodash — CVE Details

MEDIUM

Regular Expression Denial of Service (ReDoS) in lodash

Published July 19, 2019Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (2.98%). Schedule for your next planned update.

Does your project use an affected lodash version?

Paste your package-lock.json to check it for CVE-2019-1010266 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

lodash prior to 4.7.11 is affected by: CWE-400: Uncontrolled Resource Consumption. The impact is: Denial of service. The component is: Date handler. The attack vector is: Attacker provides very long strings, which the library attempts to match using a regular expression. The fixed version is: 4.7.11.

Advisory Timeline

  • First published July 19, 2019 (2687 days ago).
  • Last revised September 10, 2026 — 2609 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update lodash to 4.17.11 or later
npm install lodash@4.17.11
npm
Update lodash-es to 4.17.11 or later
npm install lodash-es@4.17.11
Bundler
Update lodash-rails to 4.17.11 or later
gem install lodash-rails -v 4.17.11
npm
Update lodash-amd to 4.17.11 or later
npm install lodash-amd@4.17.11

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 2 ecosystems: npm (3), RubyGems (1).

PackageFixed In
lodash npm · Affected: All versions4.17.11
lodash-es npm · Affected: All versions4.17.11
lodash-rails RubyGems · Affected: 4.11.2, 4.12.0, 4.13.1, 4.14.1 (+9 more)4.17.11
lodash-amd npm · Affected: All versions4.17.11

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2019-1010266?
Regular Expression Denial of Service (ReDoS) in lodash. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
How do I check if my project is affected by CVE-2019-1010266?
CVE-2019-1010266 affects lodash, lodash-es and lodash-rails (and 1 more). It has a 3.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-1010266 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
2.98%
EPSS percentile: 88

This places it in the top quartile of EPSS-scored vulnerabilities — 88% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-x5rq-j2xg-h7qm
SNYK-JS-LODASH-73639

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json