CVE-2025-26622
Vyper's sqrt doesn't define rounding behavior
EPSS 0.30%
描述
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.
如何修補 CVE-2025-26622
要修補 CVE-2025-26622,請將受影響套件升級到下列已修補版本。
- —升級至 0.4.1 或更新版本
- —升級至 0.4.1 或更新版本
CVE-2025-26622 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.4.1
- from 0, < 0.4.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |