CVE-2024-32646
published medium CVSS 3.1 · 5.3vyper performs double eval of the slice args when buffer from adhoc locations
Package status and fixes
Description
Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `slice` builtin can result in a double eval vulnerability when the buffer argument is either `msg.data`, `self.code` or `<address>.code` and either the `start` or `length` arguments have side-effects. It can be easily triggered only with the versions `<0.3.4` as `0.3.4` introduced the unique symbol fence. No vulnerable production contracts were found. Additionally, double evaluation of side-effects should be easily discoverable in client tests. As such, the impact is low. As of time of publication, no fixed versions are available.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vyperlang | vyper | <= 0.3.10 (affected) | GitHub_M · cna |
| vyperlang | vyper | All versions (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
1Provider assertions
3GitHub_M · cna
vyper performs double eval of the slice args when buffer from adhoc locations
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 106a6517590c1c09a556097747afa16c08774e02afcbb053e57ace3651545fb0
- Ingested
- 23 Sep 2026, 08:22:54 UTC
- Source record
- Official CVE record