CVE-2023-37902
published medium CVSS 3.1 · 5.3Vyper's ecrecover can return undefined data if signature does not verify
Package status and fixes
Description
Vyper is a Pythonic programming language that targets the Ethereum Virtual Machine (EVM). Prior to version 0.3.10, the ecrecover precompile does not fill the output buffer if the signature does not verify. However, the ecrecover builtin will still return whatever is at memory location 0. This means that the if the compiler has been convinced to write to the 0 memory location with specially crafted data (generally, this can happen with a hashmap access or immutable read) just before the ecrecover, a signature check might pass on an invalid signature. Version 0.3.10 contains a patch for this issue.
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 | 0 to < 0.3.10 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-252 CWE-252: Unchecked Return Value
References
2Provider assertions
3GitHub_M · cna
Vyper's ecrecover can return undefined data if signature does not verify
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e44134e2a346ab6978a57f8d954aa031d382596b2a79baf75746cec7c7a1c1e4
- Ingested
- 23 Sep 2026, 08:10:12 UTC
- Source record
- Official CVE record