Vyper versions 0.4.0b1 through 0.5.0b1 contain a vulnerability where the compiler miscompiles certain constants and omitted default arguments due to incorrect name resolution. This flaw allows attacker-controlled input to override intended values, potentially corrupting validation or accounting logic in smart contracts.
Vyper versions 0.3.4 through 0.5.0b1 contain a vulnerability in the create_from_blueprint function where an unchecked uint256 subtraction can cause an integer wraparound. This allows an attacker controlling the code_offset parameter to deploy contracts with no runtime code, potentially trapping ETH and tokens.
Vyper versions 0.3.8 through 0.5.0b1 contain an optimizer miscompilation bug that causes certain ternary expressions involving bitwise OR operations with nonzero integer literals to be incorrectly compiled to the constant 1. This flaw leads to incorrect values being used in storage writes, arithmetic operations, indexes, return values, or events, potentially causing deposits to be recorded incorrectly and funds to be locked without warning or revert.
CVE-2026-114116 is a vulnerability in vyperlang's vyper compiler versions 0.1.0b1 before 0.1.0b17 and 0.4.1 through 0.5.0b1. The issue arises because the source-line table is built using str.splitlines(), which treats certain Unicode characters as line breaks that the Python parser does not. This discrepancy allows an attacker to hide special characters in comments, strings, or indentation, causing numeric literals to be misclassified and validated from shifted source text, potentially altering addresses or numeric constants silently.
Vyper 0.3.8 through 0.5.0b1 contains a compiler miscompilation vulnerability in parse_IfExp that reads nested arrays with narrower inner bounds using the wider result type's memory layout. When a ternary selects the narrower array, inner arrays after the first are read at wrong offsets, causing contracts to silently store corrupted values or revert.
Vyper versions before 0.1.0b12, 0.1.0b15, and between 0.4.1 and 0.5.0b1 improperly handle Unicode encoding in source code parsing. This flaw causes multi-byte characters to shift source slices used for reconstructing numeric literals, allowing an attacker to substitute addresses, integers, or other constants silently by using non-ASCII identifiers that normalize to ASCII or invisible byte-order marks.
A memory corruption vulnerability exists in Vyper versions prior to 0.2.6 when performing function calls inside tuples or nested function calls. This occurs due to an incorrect pointer to the tip of the stack during such calls. The issue was fixed in Vyper version 0.2.6.
A vulnerability in Vyper prior to version 0.2.6 causes call stack corruption when passing multi-dimensional arrays as arguments to internal or external functions. This occurs due to incorrect assumptions about the size of array or struct subtypes during stack management, leading to incorrect output.
A vulnerability in Vyper versions from 0.1.0b10 up to but not including 0.2.3 causes a transaction revert when a return statement is used inside a for loop nested more than one level deep in internal calls. This results in an invalid jump destination and a stack underflow error. The impact is minor and mainly causes unnecessary transaction reverts, but under certain conditions, it could lead to a denial-of-service (DoS) on public contracts. The issue is fixed in Vyper 0.2.3.