CVE-2026-114117

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductVyper
PublishedOct 21, 2026
First seenOct 21, 2026
Weakness typeCWE-682CWE-682

How to fix

Affected products

ProductAffected versionsFixed in
vyperlang vyper0.3.8 ≤ v ≤ 0.5.0b1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.