CVE-2025-26622 - CVE House
Back to Database
Status published Low CVE-2025-26622

sqrt doesn't define rounding behavior in Vyper

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-26622

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

vyper
Vulnerable Versions:
< 0.4.1

Timeline

Official Publish: February 21st, 2025
Last Modified: February 22nd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.