CVE-2025-27105

vyper is a Pythonic Smart Contract Language for the EVM. Vyper handles AugAssign statements by first caching the target location to avoid double evaluation. However, in the case when target is an access to a DynArray and the rhs modifies the array, the cached target will evaluate first, and the bounds check will not be re-evaluated during the write portion of the statement. This issue has been addressed in version 0.4.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
References
Configurations

Configuration 1 (hide)

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

History

28 Mar 2025, 20:02

Type Values Removed Values Added
First Time Vyperlang
Vyperlang vyper
References () https://github.com/vyperlang/vyper/security/advisories/GHSA-4w26-8p97-f4jp - () https://github.com/vyperlang/vyper/security/advisories/GHSA-4w26-8p97-f4jp - Vendor Advisory, Exploit
CPE cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
Summary
  • (es) vyper es un lenguaje de contrato inteligente Pythonic para EVM. Vyper gestiona las instrucciones AugAssign almacenando primero en caché la ubicación de destino para evitar una doble evaluación. Sin embargo, en el caso en que el destino sea un acceso a un DynArray y el rhs modifique la matriz, el destino almacenado en caché se evaluará primero y la verificación de límites no se volverá a evaluar durante la parte de escritura de la instrucción. Este problema se ha solucionado en la versión 0.4.1 y se recomienda a todos los usuarios que actualicen. No existen workarounds conocidos para esta vulnerabilidad.

22 Feb 2025, 16:15

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

21 Feb 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-21 22:15

Updated : 2025-03-28 20:02


NVD link : CVE-2025-27105

Mitre link : CVE-2025-27105

CVE.ORG link : CVE-2025-27105


JSON object : View

Products Affected

vyperlang

  • vyper
CWE
CWE-787

Out-of-bounds Write