# CVE-2025-56571: Finance.js vulnerable to DoS via the IRR function’s depth parameter

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-09-30T00:00:00.000Z
- Modified: 2026-07-05T02:17:01.853Z
- Also known as: GHSA-f8r4-mf27-rf7m
- Weaknesses: CWE-400, CWE-770, CWE-834
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- financejs (npm): up to 4.1.0
- ebradyjobory finance.js: 4.1.0

## Every score

- CISA-ADP: 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/ebradyjobory/finance.js> (package, product)
- <https://raw.githack.com/ebradyjobory/finance.js/6d571ea2a86d08491ceb584e292e9b76b0a60636/finance.js> (product, web)
- <https://medium.com/@nakah_/cve-2025-56571-and-cve-2025-56572-denial-of-service-vulnerabilities-in-finance-js-78f8b399f53b> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-56571> (advisory)
- <http://financejs.com> (web)

## Sources

- CVE List: [CVE-2025-56571](https://www.cve.org/CVERecord?id=CVE-2025-56571), CVE Terms of Use, modified 2026-07-05
- GitHub Advisory Database: [GHSA-f8r4-mf27-rf7m](https://github.com/advisories/GHSA-f8r4-mf27-rf7m), CC-BY-4.0, modified 2025-10-06
- NVD: [CVE-2025-56571](https://nvd.nist.gov/vuln/detail/CVE-2025-56571), Public domain, modified 2026-07-05

---

Page: https://cve.day/CVE-2025-56571 · Whole record: https://cve.day/CVE-2025-56571.json · Rebuilt by cve.day 2026-11-25T22:59:05.366Z
