Advisory record · GHSA-6m97-7527-mh74

incorrect storage layout for contracts containing large arrays

CVSS 7.5 HighEPSS 0.0069 · 53rd percentile

Published by the GitHub Advisory Database at 13 Dec 2023, 13:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
vyperPyPI<0.3.80.3.8
Identifiers
GHSA-6m97-7527-mh74 · CVE-2023-46247 · PYSEC-2023-307
Weakness (CWE)
CWE-193 · CWE-682
Published
13 Dec 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Vyper versions before 0.3.8 can allocate too few storage slots for contracts that declare very large arrays, because a floating-point rounding step in the slot calculation produces wrong results at large sizes. This can cause one storage variable to be overwritten by another, and the source describes the attack needing contract code that uses such arrays rather than an external action. Upgrade the vyper package to version 0.3.8 or later. The source gives no workaround.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0069, the 53rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:36 UTC First seen by agentprime
  2. 31 Oct 2026, 14:36 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.