CVE-2025-59942 go-f3 module vulnerable to integer overflow leading to panic

High 7.5 Published Updated

An attacker can crash Filecoin nodes by sending specially crafted messages that trigger an integer overflow in the go-f3 library.

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

What is CVE-2025-59942?

CVE-2025-59942 is a high-severity vulnerability in filecoin-project go-f3, published on 29 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

go-f3 is a Golang implementation of Fast Finality for Filecoin (F3). In versions 0.8.6 and below, go-f3 panics when it validates a "poison" messages causing Filecoin nodes consuming F3 messages to become vulnerable. A "poison" message can can cause integer overflow in the signer index validation, which can cause the whole node to crash. These malicious messages aren't self-propagating since the bug is in the validator. An attacker needs to directly send the message to all targets. This issue is fixed in version 0.8.7.

Weakness: CWE-190

Which versions are affected by CVE-2025-59942?

3 open source packages ship an affected version, including github.com/filecoin-project/go-f3. It affects 1 product.

PackageAffectedFixed in
github.com/filecoin-project/go-f3 GoAll versions0.8.7
github.com/filecoin-project/go-f3 GoAll versions0.8.7
github.com/filecoin-project/go-f3 GoAll versions0.8.7

Products include Filecoin Go-F3.

How do I fix CVE-2025-59942?

Upgrade github.com/filecoin-project/go-f3 to 0.8.7 or later.

Is CVE-2025-59942 being exploited?

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

Sources

Also known as GHSA-g99p-47x7-mq88, GO-2025-3990.

Is CVE-2025-59942 in your software?

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

Check your SBOMs for free