Skip to main content
← All vulnerabilities
CVE-2025-27105PYSEC-2025-31GHSA-4W26-8P97-F4JP

AugAssign evaluation order causing OOB write within the object in Vyper

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • vyperlang vyper

    fixed in 0.4.1

  • vyperPyPI

    fixed in 0.4.1

References 1

GitHub · vyperlang/vyper