Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection
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.
CVE-2026-114115
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-114115
vyper
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "vyperlang",
"product": "vyper",
"versions": [
{
"status": "affected",
"version": "0.3.8",
"versionType": "python",
"lessThanOrEqual": "0.5.0b1"
}
],
"packageURL": "pkg:pypi/vyper",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-114115
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #49241 · Revision 1
- Added to Heist Feed
- Publisher date