CVE-2016-4055
MEDIUM 6.5CVSS 3.1Regular Expression Denial of Service in moment
The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
- Published
- 23 Jan 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-87vv-r9j6-g5qv
- Sources
- NVDJSONOSV GHSA-87vv-r9j6-g5qvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | momentjs | momentcpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:* |
< 2.11.2 | 2.11.2 |
| NVD | tenable | nessuscpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:* |
<= 8.2.3 | |
| NVD | oracle | primavera_unifiercpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:* |
>= 16.0, <= 18.8.4 | |
| OSV | npm | moment | < 2.11.2 | 2.11.2 |
References
- http://www.openwall.com/lists/oss-security/2016/04/20/11 · Mailing List, Third Party Advisory, WEB
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html · Patch, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/95849 · Third Party Advisory, VDB Entry, WEB
- https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E
- https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E
- https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E
- https://nodesecurity.io/advisories/55 · Broken Link, Exploit, Vendor Advisory
- https://www.tenable.com/security/tns-2019-02 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-4055 · ADVISORY
- https://github.com/advisories/GHSA-87vv-r9j6-g5qv · ADVISORY
- https://github.com/moment/moment · PACKAGE
- https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731@%3Cdev.flink.apache.org%3E · WEB
- https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49@%3Cuser.flink.apache.org%3E · WEB
- https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2@%3Cuser.flink.apache.org%3E · WEB
- https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854@%3Cuser.flink.apache.org%3E · WEB
- https://www.npmjs.com/advisories/55 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 23 Jan 2017)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Oct 2017)