Live threats

All CVEs / Momentjs

CVE-2016-4055Momentjs Moment

Medium 6.5 High EPSS

Priority
40
CVSS 3.1
6.5
EPSS
10.2%
probability of exploitation in 30 days · percentile 96
Auth required
Yes
Published
Jan 23, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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)."

Original NVD text.

What to do

  1. Apply the vendor's security update for Moment.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm moment < 2.11.2 2.11.2 npm install moment@2.11.2

Per OSV / GitHub Advisories (GHSA-87vv-r9j6-g5qv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
momentjsmoment< 2.11.2
tenablenessus≤ 8.2.3
oracleprimavera_unifier≥ 16.0 ≤ 18.8.4

Official sources

References

Links published by the sources. Open them with care.