Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-6j9c-gvcw-74fj
- https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-optimizer-misco
- https://github.com/vyperlang/vyper/security/advisories/GHSA-6j9c-gvcw-74fj
FAQ
What is CVE-2026-114117?
CVE-2026-114117 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 t...
How severe is CVE-2026-114117?
CVE-2026-114117 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-114117?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.