CVE-2016-4055 json
Regular Expression Denial of Service in moment
published 2017-01-23 9 y ago modified 2026-06-17 4 mo ago also GHSA-87vv-r9j6-g5qv , EUVD-2017-0191
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.9%
- EPSS 9.9% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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)."
Patch / fix
- npm moment 2.11.2
- momentjs moment 2.11.2
- node-moment Debian 14, Debian 13, Debian 12 2.13.0+ds-1
debian advisories DEBIAN-CVE-2016-4055
- node-moment Ubuntu Pro 16.04 LTS 2.11.0+ds-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2016-4055
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-4055 updated cvss 4.3
moment.js: regular expression denial of service
-
Red Hat Satellite 5 momentjsaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
9.90% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- nodesecurity.io https://nodesecurity.io/advisories/55 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | moment | <2.11.2 |
2.11.2 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
oracle.com
/technetwork/security-advisory/cpujul2018-4258247.html
web, patch, third-party-advisory
-
tenable.com
/security/tns-2019-02
web, patch, third-party-advisory
-
nodesecurity.io
/advisories/55
broken-link, exploit, vendor-advisory
-
openwall.com
/lists/oss-security/2016/04/20/11
mailing-list, web, third-party-advisory
-
securityfocus.com
/bid/95849
vdb-entry, web, third-party-advisory
-
lists.apache.org
/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2016-4055
advisory
-
github.com
/advisories/GHSA-87vv-r9j6-g5qv
advisory
-
github.com
/moment/moment
package
-
lists.apache.org
/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731@%3Cdev.flink.apache.org%3E
web
-
lists.apache.org
/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49@%3Cuser.flink.apache.org%3E
web
-
lists.apache.org
/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2@%3Cuser.flink.apache.org%3E
web
-
lists.apache.org
/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854@%3Cuser.flink.apache.org%3E
web
-
npmjs.com
/advisories/55
web
Sources
- CVE List CVE-2016-4055
- GitHub Advisory GHSA-87vv-r9j6-g5qv
- NVD CVE-2016-4055
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.