CVE-2025-56571
HIGH7.5EPSS 0.08%Finance.js vulnerable to DoS via the IRR function’s depth parameter
Published: 9/30/2025Modified: 10/6/2025
Also known as:GHSA-f8r4-mf27-rf7m
Description
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.
Affected packages (1)
- npm/financejsfrom 0, <= 4.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-56571
- PATCHhttps://github.com/ebradyjobory/finance.js
- WEBhttp://financejs.com
- WEBhttps://medium.com/@nakah_/cve-2025-56571-and-cve-2025-56572-denial-of-service-vulnerabilities-in-finance-js-78f8b399f53b
- WEBhttps://raw.githack.com/ebradyjobory/finance.js/6d571ea2a86d08491ceb584e292e9b76b0a60636/finance.js