CVE-2016-4055

Exp

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: 2017-01-23 Last update: 2026-05-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-4055 is rated High Exploit Risk (69.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.71%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2016-4055

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2016-4055

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-22 4.05% 2.71% -1.34%
2 2026-03-04 1.88% 4.05% +2.17%
3 2026-03-01 1.88%

Full EPSS history (37 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-4055

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 [email protected]
7.8 2.0 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 6.9 [email protected]

Weakness enumeration for CVE-2016-4055

GitHub Security Advisory for CVE-2016-4055

GHSA-87vv-r9j6-g5qv · Severity: medium · Ecosystem: npm — Regular Expression Denial of Service in moment

OS Trackers for CVE-2016-4055

vendor priority summary link
debian unimportant CVE-2016-4055 unimportant priority: Debian including 1 source packages (node-moment), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2016-4055
redhat medium https://access.redhat.com/security/cve/CVE-2016-4055
ubuntu medium CVE-2016-4055 medium priority: Ubuntu including 1 source packages (node-moment), 17 status rows across 17 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, precise, trusty, upstream, wily, xenial, yakkety, zesty): not-affected 9, DNE 3, ignored 3, released 2. https://ubuntu.com/security/CVE-2016-4055

Affected software / configurations for CVE-2016-4055

Vendor Product Version Raw CPE
momentjs moment < 2.11.2 cpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:*
tenable nessus <= 8.2.3 cpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:*
oracle primavera_unifier >= 16.0, <= 18.8.4 cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*

References for CVE-2016-4055

URL Tags
http://www.openwall.com/lists/oss-security/2016/04/20/11 Mailing List Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html Patch Third Party Advisory
http://www.securityfocus.com/bid/95849 Third Party Advisory VDB Entry
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
cvelogic Threat Intelligence