CVE-2020-26305 json
GHSL-2020-291: Regular Expression Denial of Service (ReDoS) in CommonRegexJS
published 2024-10-26 2 y ago modified 2026-06-17 4 mo ago also GHSA-pmvv-57rg-5g86 , EUVD-2024-3102
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
CommonRegexJS is a CommonRegex port for JavaScript. All available versions contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Green |
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | commonregex | <=0.3.1 |
no fix listed |
Affected products
- talyssonoc CommonRegexJS
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
securitylab.github.com
/advisories/GHSL-2020-291-redos-CommonRegexJS/
third-party-advisory
-
github.com
/talyssonoc/CommonRegexJS/issues/4
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26305
advisory
-
github.com
/talyssonoc/CommonRegexJS
package
-
securitylab.github.com
/advisories/GHSL-2020-291-redos-CommonRegexJS
advisory
Sources
- CVE List CVE-2020-26305
- GitHub Advisory GHSA-pmvv-57rg-5g86
- NVD CVE-2020-26305
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.