Regular Expression Denial of Service (ReDoS) in lodash
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | lodash | >= 4.7.0, < 4.17.11 | 4.17.11 |
| npm package | lodash-amd | >= 4.7.0, < 4.17.11 | 4.17.11 |
| npm package | lodash-es | >= 4.7.0, < 4.17.11 | 4.17.11 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-1010266
- https://github.com/lodash/lodash/issues/3359
- https://github.com/github/advisory-database/pull/6138
- https://github.com/lodash/lodash/commit/5c08f18d365b64063bfbfa686cbb97cdd6267347
- https://github.com/lodash/lodash
- https://github.com/lodash/lodash/wiki/Changelog
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-1010266.yml
- https://security.netapp.com/advisory/ntap-20190919-0004
- https://snyk.io/vuln/SNYK-JS-LODASH-73639
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-400- Platform
- npm
- Package
lodash, lodash-amd, lodash-es- Disclosed
- 19.07.2019
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x5rq-j2xg-h7qm - CC BY 4.0
Vulnerability history: lodash-amd
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 07.2019 01.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 1
- Medium 2
Disclosures per year
- 2019: 2
- 2020: 0
- 2021: 1
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Regular Expression Denial of Service (ReDoS) in lodash this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.