sqrt doesn't define rounding behavior in Vyper
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| vyperlang | vyper | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-4284 | Vyper's sqrt doesn't define rounding behavior |
Github GHSA |
GHSA-2p94-8669-xg86 | Vyper's sqrt doesn't define rounding behavior |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.327% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Vyperlang
Vyperlang vyper |
|
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Vyperlang
Vyperlang vyper |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | sqrt doesn't define rounding behavior in Vyper | |
| Weaknesses | CWE-682 | |
| References |
| |
| Metrics |
cvssV4_0
|