{"id":"CVE-2025-25283","aliases":["GHSA-hcrg-fc28-fcg5"],"url":"https://o3.security/vulnerability/CVE-2025-25283","summary":"parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory","details":"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.","published":"2025-02-12T18:21:48.693Z","modified":"2026-07-15T01:48:51.170356124Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"parse-duration","fixedVersion":"2.1.3"}],"fix":{"url":"https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7","label":"jkroso/parse-duration@9e88421"},"references":[{"type":"WEB","url":"https://github.com/jkroso/parse-duration/releases/tag/v2.1.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25283.json"},{"type":"ADVISORY","url":"https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25283"},{"type":"FIX","url":"https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:51.170356124Z"}}