CVE-2026-114115
published medium CVSS 4.0 · 6.3Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vyperlang | — | vyper0.3.8 through 0.5.0b1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
Vyper 0.3.8 through 0.5.0b1 contains a compiler miscompilation vulnerability in parse_IfExp that reads nested arrays with narrower inner bounds using the wider result type's memory layout. When a ternary selects the narrower array, inner arrays after the first are read at wrong offsets, causing contracts to silently store corrupted values or revert.
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
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/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.8 through 0.5.0b1 (affected · python)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
3- Patch Commit https://github.com/vyperlang/vyper/commit/1fb7dfe2
- GitHub Security Advisory (GHSA-cw3h-xwxq-8cx2) https://github.com/vyperlang/vyper/security/advisories/GHSA-cw3h-xwxq-8cx2
- VulnCheck Advisory: Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-memory-misread-via-ternary-nested-array-selection
Provider assertions
2VulnCheck · cna
Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f07be90a66039a0910440d6ccf7646ae24dac2debef321988443f17cf9851f66
- Ingested
- 21 Oct 2026, 15:58:42 UTC
- Source record
- Official CVE record