Bug 2558031 (CVE-2026-114117) - CVE-2026-114117 vyper: vyper: State corruption and locked funds via optimizer miscompilation
Summary: CVE-2026-114117 vyper: vyper: State corruption and locked funds via optimizer...
Keywords:
Status: NEW
Alias: CVE-2026-114117
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2565622
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-21 01:02 UTC by OSIDB Bzimport
Modified: 2026-11-03 07:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-21 01:02:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.