CVE-2024-24559
published low CVSS 3.1 · 3.7Vyper SHA3 code generation bug
Package status and fixes
Description
Vyper is a Pythonic Smart Contract Language for the EVM. There is an error in the stack management when compiling the `IR` for `sha3_64`. Concretely, the `height` variable is miscalculated. The vulnerability can't be triggered without writing the `IR` by hand (that is, it cannot be triggered from regular vyper code). `sha3_64` is used for retrieval in mappings. No flow that would cache the `key` was found so the issue shouldn't be possible to trigger when compiling the compiler-generated `IR`. This issue isn't triggered during normal compilation of vyper code so the impact is low. At the time of publication there is no patch 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
- 3.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/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 | 0.3.10 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-327 CWE-327: Use of a Broken or Risky Cryptographic Algorithm
References
2Provider assertions
3GitHub_M · cna
Vyper SHA3 code generation bug
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c5912456b1c242f9d43adea7d084de48044677c62c038d66504b440deeed10d8
- Ingested
- 23 Sep 2026, 08:19:54 UTC
- Source record
- Official CVE record