{"cve":"CVE-2025-21607","nvd":{"published":"2025-01-14T18:16:05.490","modified":"2026-06-17T08:43:50.623","status":"Modified","description":"Vyper is a Pythonic Smart Contract Language for the EVM. When the Vyper Compiler uses the precompiles EcRecover (0x1) and Identity (0x4), the success flag of the call is not checked. As a consequence an attacker can provide a specific amount of gas to make these calls fail but let the overall execution continue. Then the execution result can be incorrect. Based on EVM's rules, after the failed precompile the remaining code has only 1/64 of the pre-call-gas left (as 63/64 were forwarded and spent). Hence, only fairly simple executions can follow the failed precompile calls. Therefore, we found no significantly impacted real-world contracts. None the less an advisory has been made out of an abundance of caution. This issue is fixed in 0.4.1.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-670"],"references":["https://github.com/vyperlang/vyper/commit/7136eab0a254aa2ff7ddca41cc05f2ee1fa99caf","https://github.com/vyperlang/vyper/pull/4451","https://github.com/vyperlang/vyper/security/advisories/GHSA-vgf2-gvx8-xwc3","https://github.com/vyperlang/vyper/security/advisories/GHSA-vgf2-gvx8-xwc3"],"products":["vyperlang:vyper"],"source":"nvd","synced_at":"2026-10-19T21:58:20.756570362+00:00"},"epss":{"cve":"CVE-2025-21607","score":0.00672,"percentile":0.5208,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vgf2-gvx8-xwc3","url":"https://osv.dev/vulnerability/GHSA-vgf2-gvx8-xwc3","summary":"Vyper Does Not Check the Success of Certain Precompile Calls","modified":"2026-09-10T03:50:22.271552066Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2025-33","url":"https://osv.dev/vulnerability/PYSEC-2025-33","summary":"","modified":"2026-06-10T17:14:19.490734261Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.4.1"],"fixed":["0.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}