Skip to content

CVE-2026-114115 Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection

MediumCVSS 6.3 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi vyper >= 0.3.8, <= 0.5.0b1 after 0.5.0b1 Fixed

Affected products

ProductAffected versionsFixed in
pypi vyper >= 0.3.8, <= 0.5.0b1 No fix listed

References