CVE & CISA-KEV Catalog

CVE-2025-21607

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
vyperNVD
Affected:< 0.4.1Fixed in:0.4.1CVE-2025-21607derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.65%probability of exploitation in 30 days
48thpercentile

Moderate risk: more likely to be exploited than 48% of all known CVEs.

References

Exploit1
Other references2

Related Vulnerabilities

Other CWE-670 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-9425High7.517%-Fix
CVE-2019-9946High7.53.1%-Fix
CVE-2024-32896High7.83.0%KEV-
CVE-2019-17192Critical9.82.7%--
CVE-2026-38361High7.52.6%--
CVE-2020-1914Critical9.82.5%-Fix

Common questions

How do I fix CVE-2025-21607?

Upgrade vyper to 0.4.1 or later.

Is CVE-2025-21607 being actively exploited?

Not that we know of. CVE-2025-21607 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.65% is the estimated probability that it will be exploited in the next 30 days. That is higher than 48% of all scored CVEs.

How severe is CVE-2025-21607?

CVE-2025-21607 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-21607 affect?

Published advisories record a fix for vyper (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-21607
CVE-2025-21607 severity badge

Markdown

[![CVE-2025-21607](https://tridentstack.com/cve/badge/CVE-2025-21607.svg)](https://tridentstack.com/cve/CVE-2025-21607)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-21607"><img src="https://tridentstack.com/cve/badge/CVE-2025-21607.svg" alt="CVE-2025-21607"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-24.