# CVE-2025-25283: parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 57% of CVEs (2026-12-01)
- Published: 2025-02-12T18:21:48.693Z
- Modified: 2026-06-17T09:00:36.773Z
- Also known as: GHSA-hcrg-fc28-fcg5
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- jkroso parse-duration: < 2.1.3
- parse-duration (npm): before 2.1.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5> (web)
- <https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7> (web)
- <https://github.com/jkroso/parse-duration/releases/tag/v2.1.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25283> (advisory)
- <https://github.com/jkroso/parse-duration> (package)

## Sources

- CVE List: [CVE-2025-25283](https://www.cve.org/CVERecord?id=CVE-2025-25283), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-hcrg-fc28-fcg5](https://github.com/advisories/GHSA-hcrg-fc28-fcg5), CC-BY-4.0, modified 2025-02-12
- NVD: [CVE-2025-25283](https://nvd.nist.gov/vuln/detail/CVE-2025-25283), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-25283 · Whole record: https://cve.day/CVE-2025-25283.json · Rebuilt by cve.day 2026-11-25T22:58:54.054Z
