Vulnerabilities · 2025 · Vyperlang
CVE-2025-26622
Vyperlang Vyper vulnerability
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.
Affected products
Vyper. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vyperlang Vyper runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86 · Vendor Advisory
- github.com/vyperlang/vyper/pull/4486 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-26622
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2025-29.yaml
- github.com/advisories/GHSA-2p94-8669-xg86
- nvd.nist.gov/vuln/detail/CVE-2025-26622
- cve.org/CVERecord?id=CVE-2025-26622
More vulnerabilities in Vyperlang products
CVE-2025-27105CVE-2025-27104CVE-2025-21607CVE-2024-32649CVE-2024-32648CVE-2024-32647CVE-2024-32646CVE-2024-32645All 38
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.