KeygraphLabs · CVE MCP

CVE-2016-4055 · mitre

CVE-2016-4055

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 changed 2026-06-17. Weakness: CWE-400.

CVSS
6.5
medium, from NVD
EPSS
10.2%
percentile 95.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: moment 2.11.2 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in moment/moment by dd9cff0104. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-01-23Published
2017-10-24Package advisory GHSA-87vv-r9j6-g5qv
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 10.2%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-87vv-r9j6-g5qvmoment (npm)2.11.2

Also known as: GHSA-87vv-r9j6-g5qv

Related

CVEPublishedCVSSSummary
CVE-2026-174952026-09-155.9moment vulnerable to Path Traversal via crafted non-string locale name
CVE-2022-311292022-07-067.5Inefficient Regular Expression Complexity in moment
CVE-2022-247852022-04-047.5Path Traversal in Moment.js
CVE-2017-182142018-03-047.5same package: moment (npm)
CVE-2026-1068062026-11-027.5same weakness (CWE-400) from the same CNA (mitre)
CVE-2026-1068072026-11-025.3same weakness (CWE-400) from the same CNA (mitre)
CVE-2026-1068052026-11-027.5same weakness (CWE-400) from the same CNA (mitre)
CVE-2026-1171842026-10-307.5same weakness (CWE-400) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-4055, or call /api/v1/vulnerabilities/CVE-2016-4055. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org