# CVE-2020-7754: Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.26%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-10-16T18:56:26.000Z
- Modified: 2026-07-08T06:49:44.248Z
- Also known as: GHSA-pw54-mh39-w3hc, GHSA-xgh6-85xh-479p
- Weaknesses: CWE-400
- Assigned by: snyk

## Description

This affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.

(As written by CVE List.)

## Affected

- npm-user-validate: from unspecified before 1.0.1
- npm-user-validate (npm): before 1.0.1
- npmjs npm-user-validate: before 1.0.1

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: rating Low
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353> (exploit, third-party-advisory, web)
- <https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p> (third-party-advisory, web)
- <https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7754> (advisory)

## Sources

- CVE List: [CVE-2020-7754](https://www.cve.org/CVERecord?id=CVE-2020-7754), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-pw54-mh39-w3hc](https://github.com/advisories/GHSA-pw54-mh39-w3hc), CC-BY-4.0, modified 2026-07-08
- GitHub Advisory Database: [GHSA-xgh6-85xh-479p](https://github.com/advisories/GHSA-xgh6-85xh-479p), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-7754](https://nvd.nist.gov/vuln/detail/CVE-2020-7754), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7754 · Whole record: https://cve.day/CVE-2020-7754.json · Rebuilt by cve.day 2026-11-25T22:57:55.471Z
