{"id":"GHSA-f8r4-mf27-rf7m","summary":"Finance.js vulnerable to DoS via the IRR function’s depth parameter","details":"Finance.js v4.1.0 contains a Denial of Service (DoS) vulnerability via the IRR function’s depth parameter. Improper handling of the recursion/iteration limit can lead to excessive CPU usage, causing application stalls or crashes.","aliases":["CVE-2025-56571"],"modified":"2025-10-06T20:59:43Z","published":"2025-09-30T18:30:24Z","database_specific":{"github_reviewed_at":"2025-09-30T21:59:58Z","nvd_published_at":"2025-09-30T16:15:52Z","cwe_ids":["CWE-400","CWE-770","CWE-834"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56571"},{"type":"PACKAGE","url":"https://github.com/ebradyjobory/finance.js"},{"type":"WEB","url":"https://medium.com/@nakah_/cve-2025-56571-and-cve-2025-56572-denial-of-service-vulnerabilities-in-finance-js-78f8b399f53b"},{"type":"WEB","url":"https://raw.githack.com/ebradyjobory/finance.js/6d571ea2a86d08491ceb584e292e9b76b0a60636/finance.js"},{"type":"WEB","url":"http://financejs.com"}],"affected":[{"package":{"name":"financejs","ecosystem":"npm","purl":"pkg:npm/financejs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"4.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-f8r4-mf27-rf7m/GHSA-f8r4-mf27-rf7m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}