HIGH · CVSS 7.5 Published: 2025-02-21
CVE-2025-26622 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-26622 |
|---|---|
| Base Severity / Score | HIGH (7.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Weakness Classification | CWE-682 |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/vyperlang/vyper/pull/4486
- https://github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86
Related Security Advisories
CVE-2025-26621 HIGH 7.6
CVE-2025-26623 CRITICAL 9.8
CVE-2025-26627 HIGH 7
CVE-2025-26628 HIGH 7.3
CVE-2025-26629 HIGH 7.8
CVE-2025-2663 HIGH 7.3
CVE-2025-26630 HIGH 7.8