CVE-2025-26622

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

Configuration 1 (hide)

cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*

History

28 Mar 2025, 20:06

Type Values Removed Values Added
First Time Vyperlang
Vyperlang vyper
CWE NVD-CWE-noinfo
Summary
  • (es) vyper es un lenguaje de contrato inteligente Pythonic para EVM. La función incorporada `sqrt()` de Vyper utiliza el método babilónico para calcular raíces cuadradas de decimales. Lamentablemente, la gestión inadecuada de los estados finales oscilantes puede provocar que sqrt devuelva incorrectamente resultados redondeados. Este problema se está solucionando y se espera una solución en la versión 0.4.1. Se recomienda a los usuarios que actualicen la versión tan pronto como esté disponible la versión parcheada. No se conocen workarounds para esta vulnerabilidad.
References () https://github.com/vyperlang/vyper/pull/4486 - () https://github.com/vyperlang/vyper/pull/4486 - Issue Tracking, Patch
References () https://github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86 - () https://github.com/vyperlang/vyper/security/advisories/GHSA-2p94-8669-xg86 - Vendor Advisory
CPE cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*

22 Feb 2025, 16:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

21 Feb 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-21 22:15

Updated : 2025-03-28 20:06


NVD link : CVE-2025-26622

Mitre link : CVE-2025-26622

CVE.ORG link : CVE-2025-26622


JSON object : View

Products Affected

vyperlang

  • vyper
CWE
CWE-682

Incorrect Calculation

NVD-CWE-noinfo