cve.bz

CVE-2023-31146

9.1 criticalEPSS 1.3%

Critical (9.1) in vyperlang vyper. EPSS 1.3% chance of exploitation in the next 30 days. Fixed in vyper 0.3.8.

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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
1.3% chance of exploitation in the next 30 days; higher than 69% of CVEs (scores of 2026-10-31)
CWE
CWE-787
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p37-3636-q8wvPyPIvyper<0.3.80.3.8
PYSEC-2023-77PyPIvyper<0.3.80.3.8

References

Check your stackJSON