CVE-2025-26622

LOW CVSS 4.0: 2.3 EPSS 0.33%
Updated Mar 28, 2025
Vyperlang
Parameter Value
CVSS 2.3 (LOW)
Affected Versions before 0.4.1
Fixed In 0.4.1
Type CWE-682
Vendor Vyperlang
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Vyperlang Vyper
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
— 0.4.1