CVE-2026-114117

published 21 Oct 2026 · updated 21 Oct 2026

Vyper 0.3.8 through 0.5.0b1 Optimizer Miscompilation of msg.value | K in Ternary Branches

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

Vyper 0.3.8 through 0.5.0b1 contains an optimizer miscompilation in which (msg.value | K) or (len(msg.data) | K), where K is any nonzero integer literal, is compiled to the constant 1 when used as a ternary expression branch under -O gas (the default) or -O codesize. Affected contracts use the wrong value in storage writes, arithmetic, indexes, return values, or events without warning or revert, which can record deposits incorrectly and lock funds.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
vyperlang>=0.3.8 <=0.5.0b1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-114117 severity on Zeptric[![CVE-2026-114117](https://zeptric.io/badge/cve/CVE-2026-114117.svg)](https://zeptric.io/cve/CVE-2026-114117)