cbcvebase.
CVE-2023-31146
published 2023-05-11

CVE-2023-31146: 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…

PriorityP350critical9.1CVSS 3.1
AVNACLPRNUINSUCNIHAH
EPSS
1.24%
65.8th percentile
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.

Affected

3 ranges
VendorProductVersion rangeFixed in
vyperlangvyper< 0.3.80.3.8
vyperlangvyper>= 0 < 0.3.80.3.8
vyperlangvyper>= 0 < 4f8289a81206f767df1900ac48f485d90fc87edb4f8289a81206f767df1900ac48f485d90fc87edb
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.