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.
EPSS: 0.003 (24.6th percentile) — read the EPSS interpretation.
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.
Affected products
- Vyperlang Vyper — versions < 0.4.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC, 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.