Vulnerability in Jkroso Parse-Duration

CVE-2025-25283

parse-duraton is software that allows users to convert a human readable duration to milliseconds. Versions prior to 2.1.3 are vulnerable to an event loop delay due to the CPU-bound operation of resolving the provided string, from a 0.5ms and up to ~50ms per one operation, with a varying size from 0.01 MB and up to 4.3 MB respectively, and an out of memory that would crash a running Node.js application due to a string size of roughly 10 MB that utilizes unicode characters. Version 2.1.3 contains a patch.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

EPSS: 0.007 (51.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-25283?
CVE-2025-25283 is a high-severity vulnerability in Jkroso Parse-Duration, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2025-02-12.
How severe is CVE-2025-25283?
High severity. CVSS v3 base score is 7.5 out of 10.