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

Published Oct 21, 2026
·
Updated

Vyper 0.3.8 through 0.5.0b1 contains a compiler miscompilation vulnerability in parseIfExp 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.

Affected Software

1 affected component
Vyper Vyper>=0.3.8<=0.5.0b1

Event History

Oct 21, 2026
CVE Published
via MITRE·12:37 AM
Data Sourced
via MITRE·12:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which contracts are affected in practice?

Contracts compiled with Vyper 0.3.8 through 0.5.0b1 are affected when they use a ternary expression that selects nested arrays whose inner bounds differ. The erroneous read occurs when the ternary selects the array with narrower inner bounds.

2

Does exploitation require an attacker to have privileges or interact with a user?

No privileges or user interaction are required according to the provided vector. Exploitation is network-reachable, but has high attack complexity.

3

What is the impact if the vulnerable expression executes?

The contract can read inner arrays after the first at incorrect memory offsets. This can cause silently corrupted values to be stored or cause the contract execution to revert.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203