Skip to content
Fencer Intel
medium 6.5

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 momentjs
    affected: 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-09).

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

Sources

Fencer Intel 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.