Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. financejs
  4. ›
  5. CVE-2025-56571

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

September 30, 2025 (updated October 6, 2025)

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.

References

  • github.com/advisories/GHSA-f8r4-mf27-rf7m
  • github.com/ebradyjobory/finance.js
  • medium.com/@nakah_/cve-2025-56571-and-cve-2025-56572-denial-of-service-vulnerabilities-in-finance-js-78f8b399f53b
  • nvd.nist.gov/vuln/detail/CVE-2025-56571
  • raw.githack.com/ebradyjobory/finance.js/6d571ea2a86d08491ceb584e292e9b76b0a60636/finance.js

Code Behaviors & Features

Detect and mitigate CVE-2025-56571 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 4.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling
  • CWE-834: Excessive Iteration

Source file

npm/financejs/CVE-2025-56571.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.