VULNERABILITY INTELLIGENCE

CVE-2023-31146

CVSS score7.5 HIGH
EPSS probability1.25%
CISA KEVNot currently listed
Published2023-05-11
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, during codegen, the length word of a dynarray is written before the data, which can result in out-of-bounds array access in the case where the dynarray is on both the lhs and rhs of an assignment. The issue can cause data corruption across call frames. The expected behavior is to revert due to out-of-bounds array access. Version 0.3.8 contains a patch for this issue.

Weakness classification

  • security-advisories@github.com: CWE-787
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-787

Primary references