High severity7.5NVD Advisory· Published Feb 21, 2025· Updated Jun 17, 2026
CVE-2025-26622
CVE-2025-26622
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vyperPyPI | < 0.4.1 | 0.4.1 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/vyperlang/vyper/pull/4486nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-2p94-8669-xg86ghsaADVISORY
- github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-26622ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2025-29.yamlghsaWEB
News mentions
0No linked articles in our index yet.