Vulnerability

CVE-2025-26622

lowCVSS 4.0 2.3Published 21 Feb 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Vyperlang vyper

Weakness type

References

  • github.com /vyperlang/vyper/pull/4486
  • github.com /vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning