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

High 8.2 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-114117?

CVE-2026-114117 is a high-severity vulnerability in vyperlang vyper, published on 21 Oct 2026.

Official description

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.

Weakness: CWE-682

Which versions are affected by CVE-2026-114117?

How do I fix CVE-2026-114117?

No fix has been published for CVE-2026-114117 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-114117 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-114117 exists.

Sources

Also known as GHSA-6j9c-gvcw-74fj, GHSA-xvvp-6q7c-mxwj.

Is CVE-2026-114117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free