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

High 7.5 Published Updated

An attacker can cause application stalls or crashes in Finance.js by exploiting excessive CPU usage in the IRR function's recursion handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-56571?

CVE-2025-56571 is a high-severity denial of service vulnerability in n/a, published on 30 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-834

Which versions are affected by CVE-2025-56571?

2 open source packages ship an affected version, including financejs. It affects 1 product.

PackageAffectedFixed in
financejs npmAll versions to 4.1.0None
financejs npmAll versions to 4.1.0None

Products include Ebradyjobory Finance.js.

How do I fix CVE-2025-56571?

No fix has been published for CVE-2025-56571 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-56571 being exploited?

There is no known exploitation of CVE-2025-56571 in the wild and no public exploit code.

Sources

Also known as GHSA-f8r4-mf27-rf7m.

Is CVE-2025-56571 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free