Vulnerability in Vyperlang Vyper
CVE-2025-26622
vyper is a Pythonic Smart Contract Language for the EVM. Vyper `sqrt()` builtin uses the babylonian method to calculate square roots of decimals. Unfortunately, improper handling of the oscillating final states may lead to sqrt incorrectly returning rounded up results. This issue is being addressed and a fix is expected in version 0.4.1. Users are advised to upgrade as soon as the patched release is available. There are no known workarounds for this vulnerability.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.003 (24.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 24th percentile — 24.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Vyperlang Vyper — versions < 0.4.1
Weakness classification (CWE)
References
- github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86 (Vendor Advisory)
- github.com/vyperlang/vyper/pull/4486 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2025-26622?
- CVE-2025-26622 is a high-severity vulnerability in Vyperlang Vyper, classified under Incorrect Calculation. CVSS score: 7.5/10. Published 2025-02-21.
- How severe is CVE-2025-26622?
- High severity. CVSS v3 base score is 7.5 out of 10.