Advisory

GHSA-f8r4-mf27-rf7m

Also known as: CVE-2025-56571

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-09-30 18:30 UTC
Modified
2025-10-06 20:59 UTC

Affected packages and fixes

financejs

npm · All systems

Affected

  • introduced 0, last affected 4.1.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences