BreachSpiderVerified, not vibes

CVE-2025-21607 in Vyperlang Vyper

High 7.5

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
CVSS v42.3
EPSS1.0%
EPSS percentile62th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Vyperlang Vyper < 0.4.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-21607
BreachSpider IDBS-2025-GLOBAL-237358-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2025-01-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-670: CWE-670

Analysis AI-written, not human-reviewed

CVE-2025-21607 affects the Vyper Compiler when using the EcRecover (0x1) and Identity (0x4) precompiles, due to unchecked success flags. This can lead to incorrect execution results if the precompile calls fail.

An attacker can provide a specific amount of gas to make the EcRecover (0x1) and Identity (0x4) precompile calls fail, while the overall execution continues. This can result in incorrect execution outcomes based on the EVM's rules.

Questions

What is CVE-2025-21607?

CVE-2025-21607 affects the Vyper Compiler when using the EcRecover (0x1) and Identity (0x4) precompiles, due to unchecked success flags. This can lead to incorrect execution results if the precompile calls fail.

What is the CVSS score for CVE-2025-21607?

CVE-2025-21607 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.0%.

Is CVE-2025-21607 actively exploited?

No confirmed active exploitation of CVE-2025-21607 as of 2026-09-25.

How do I remediate CVE-2025-21607?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-21607?

CVE-2025-21607 affects Vyperlang Vyper.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vyperlang","product":"Vyper","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.