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.
References
Link | Resource |
---|---|
https://github.com/vyperlang/vyper/pull/4486 | Issue Tracking Patch |
https://github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86 | Vendor Advisory |
Configurations
History
28 Mar 2025, 20:06
Type | Values Removed | Values Added |
---|---|---|
First Time |
Vyperlang
Vyperlang vyper |
|
CWE | NVD-CWE-noinfo | |
Summary |
|
|
References | () https://github.com/vyperlang/vyper/pull/4486 - Issue Tracking, Patch | |
References | () https://github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86 - Vendor Advisory | |
CPE | cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* |
22 Feb 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
21 Feb 2025, 22:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-02-21 22:15
Updated : 2025-03-28 20:06
NVD link : CVE-2025-26622
Mitre link : CVE-2025-26622
CVE.ORG link : CVE-2025-26622
JSON object : View
Products Affected
vyperlang
- vyper
CWE