{"answers":{"affected":"3 open source packages ship an affected version, including github.com/filecoin-project/go-f3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-59942 in the wild and no public exploit code.","fix":"Upgrade github.com/filecoin-project/go-f3 to 0.8.7 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-59942 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-59942 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/filecoin-project/go-f3 (Go): affected all versions; fixed in 0.8.7\n- github.com/filecoin-project/go-f3 (Go): affected all versions; fixed in 0.8.7\n- github.com/filecoin-project/go-f3 (Go): affected all versions; fixed in 0.8.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59942/ (Markdown: https://insights.sbomify.com/CVE-2025-59942/index.md)","id":"CVE-2025-59942","markdown":"https://insights.sbomify.com/CVE-2025-59942/index.md","name":"CVE-2025-59942","record":{"aliases":["GHSA-g99p-47x7-mq88","GO-2025-3990"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Filecoin Go library","requires_auth":"none","summary":"An attacker can crash Filecoin nodes by sending specially crafted messages that trigger an integer overflow in the go-f3 library.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"go-f3","vendor":"filecoin"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"go-f3 module vulnerable to integer overflow leading to panic","id":"CVE-2025-59942","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"integer_overflow","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"phpMyFAQ duplicate email registration allows multiple accounts with the same email","id":"CVE-2025-59943"},"packages":[{"ecosystem":"Go","fixed":["0.8.7"],"introduced":["0"],"last_affected":[],"package":"github.com/filecoin-project/go-f3","purl":null,"source":"GHSA-g99p-47x7-mq88"},{"ecosystem":"Go","fixed":["0.8.7"],"introduced":["0"],"last_affected":[],"package":"github.com/filecoin-project/go-f3","purl":"pkg:golang/github.com/filecoin-project/go-f3","source":"GHSA-g99p-47x7-mq88"},{"ecosystem":"Go","fixed":["0.8.7"],"introduced":["0"],"last_affected":[],"package":"github.com/filecoin-project/go-f3","purl":"pkg:golang/github.com/filecoin-project/go-f3","source":"GO-2025-3990"}],"prev":{"headline":"go-f3 is Vulnerable to Cached Justification Verification Bypass","id":"CVE-2025-59941"},"products":["go-f3"],"published":"2025-09-29","related":[{"cvss_score":5.9,"headline":"go-f3 is Vulnerable to Cached Justification Verification Bypass","id":"CVE-2025-59941","kev_date_added":null,"published":"2025-09-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-30","vendors":["filecoin-project"]},"summary":"An attacker can crash Filecoin nodes by sending specially crafted messages that trigger an integer overflow in the go-f3 library.","url":"https://insights.sbomify.com/CVE-2025-59942/"}