CVE Catalog

CVE-2026-114115

LowCVSS 3.7
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

May lead to incorrect smart contract behavior, including storing corrupted data or unexpected transaction reverts. This could have financial or security consequences depending on contract logic.

Recommendation

Upgrade Vyper to a version later than 0.5.0b1 or apply a workaround by avoiding ternary expressions with nested arrays of differing bounds.

Other vulnerabilities in Vyper

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS