TROYANOSYVIRUS
Back to CVEs

CVE-2025-26622

HIGH
7.5

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.

CVE Details

CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/21/2025
Last Modified3/28/2025
Sourcenvd
Honeypot Sightings0

Affected Products

vyperlang:vyper

Weaknesses (CWE)

CWE-682

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.