VYPR

Vendor CVEs

Vyperlang

All CVEs

53 total · sorted by risk
  • CVE-2024-24563CriFeb 7, 2024
    risk 0.64cvss 9.8epss 0.02

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. Arrays can be keyed by a signed integer, while they are defined for unsigned integers only. The typechecker doesn't throw when spotting the usage of an `int` as an index for an array. The typechecker…

  • CVE-2024-24561CriFeb 1, 2024
    risk 0.64cvss 9.8epss 0.01

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.10 and earlier, the bounds check for slices does not account for the ability for start + length to overflow when the values aren't literals. If a slice() function uses a non-literal…

  • CVE-2025-27105CriFeb 21, 2025
    risk 0.59cvss 9.1epss 0.01

    vyper is a Pythonic Smart Contract Language for the EVM. Vyper handles AugAssign statements by first caching the target location to avoid double evaluation. However, in the case when target is an access to a DynArray and the rhs modifies the array, the cached target will…

  • CVE-2026-114663HigOct 22, 2026
    risk 0.55cvss 8.4epss 0.00

    Vyper 0.4.0b1 through 0.5.0b1 miscompiles unfoldable constants and omitted default arguments from imported modules, because parse_Name resolves their names in the using function's scope rather than at declaration. When a contract's parameter, local, or loop variable shares such…

  • CVE-2022-24845HigApr 13, 2022
    risk 0.50cvss 8.8epss 0.01

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to…

  • CVE-2022-24787HigApr 4, 2022
    risk 0.49cvss 7.5epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. In version 0.3.1 and prior, bytestrings can have dirty bytes in them, resulting in the word-for-word comparisons giving incorrect results. Even without dirty nonzero bytes, two bytestrings can compare…

  • CVE-2021-41121HigOct 6, 2021
    risk 0.49cvss 7.5epss 0.01

    Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions when performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack. This issue has been resolved in…

  • CVE-2023-42443HigSep 18, 2023
    risk 0.46cvss 8.1epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). In version 0.3.9 and prior, under certain conditions, the memory used by the builtins `raw_call`, `create_from_blueprint` and `create_copy_of` can be corrupted. For `raw_call`, the argument…

  • CVE-2022-29255HigJun 9, 2022
    risk 0.46cvss 8.2epss 0.01

    Vyper is a Pythonic Smart Contract Language for the ethereum virtual machine. In versions prior to 0.3.4 when a calling an external contract with no return value, the contract address (including side effects) could be evaluated twice. This may result in incorrect outcomes for…

  • CVE-2025-27104HigFeb 21, 2025
    risk 0.42cvss 7.5epss 0.00

    vyper is a Pythonic Smart Contract Language for the EVM. Multiple evaluation of a single expression is possible in the iterator target of a for loop. While the iterator expression cannot produce multiple writes, it can consume side effects produced in the loop body (e.g. read a…

  • CVE-2025-26622HigFeb 21, 2025
    risk 0.42cvss 7.5epss 0.00

    vyper is a Pythonic Smart Contract Language for the EVM. Vyper `sqrt()` builtin uses the babylonian method to calculate square roots of decimals. Unfortunately, improper handling of the oscillating final states may lead to sqrt incorrectly returning rounded up results. This…

  • CVE-2025-21607HigJan 14, 2025
    risk 0.42cvss 7.5epss 0.01

    Vyper is a Pythonic Smart Contract Language for the EVM. When the Vyper Compiler uses the precompiles EcRecover (0x1) and Identity (0x4), the success flag of the call is not checked. As a consequence an attacker can provide a specific amount of gas to make these calls fail but…

  • CVE-2023-46247HigDec 13, 2023
    risk 0.42cvss 7.5epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Contracts containing large arrays might underallocate the number of slots they need by 1. Prior to v0.3.8, the calculation to determine how many slots a storage variable needed used…

  • CVE-2023-32059HigMay 11, 2023
    risk 0.42cvss 7.5epss 0.01

    Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-to-left, but…

  • CVE-2023-32058HigMay 11, 2023
    risk 0.42cvss 7.5epss 0.01

    Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, due to missing overflow check for loop variables, by assigning the iterator of a loop to a variable, it is possible to overflow the type of the latter. The issue seems to happen…

  • CVE-2023-31146HigMay 11, 2023
    risk 0.42cvss 7.5epss 0.01

    Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, during codegen, the length word of a dynarray is written before the data, which can result in out-of-bounds array access in the case where the dynarray is on both the lhs and…

  • CVE-2023-30837HigMay 8, 2023
    risk 0.42cvss 7.5epss 0.01

    Vyper is a pythonic smart contract language for the EVM. The storage allocator does not guard against allocation overflows in versions prior to 0.3.8. An attacker can overwrite the owner variable. This issue was fixed in version 0.3.8.

  • CVE-2023-30629HigApr 24, 2023
    risk 0.42cvss 7.5epss 0.01

    Vyper is a Pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.1 through 0.3.7, the Vyper compiler generates the wrong bytecode. Any contract that uses the `raw_call` with `revert_on_failure=False` and `max_outsize=0` receives the wrong response…

  • CVE-2021-48018HigOct 21, 2026
    risk 0.41cvss 7.4epss 0.00

    Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables. When a function using @nonreentrant is called, setting the lock overwrites the overlapping storage variable, corrupting contract state…

  • CVE-2024-22419HigJan 18, 2024
    risk 0.41cvss 7.3epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. The `concat` built-in can write over the bounds of the memory buffer that was allocated for it and thus overwrite existing valid data. The root cause is that the `build_IR` for `concat` doesn't…

  • CVE-2022-24788HigApr 13, 2022
    risk 0.39cvss 7.1epss 0.01

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Versions of vyper prior to 0.3.2 suffer from a potential buffer overrun. Importing a function from a JSON interface which returns `bytes` generates bytecode which does not clamp bytes length,…

  • CVE-2026-114117MedOct 21, 2026
    risk 0.38cvss 5.9epss 0.00

    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…

  • CVE-2021-48020MedOct 21, 2026
    risk 0.35cvss 6.5epss 0.00

    Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or…

  • CVE-2020-37286MedOct 21, 2026
    risk 0.35cvss 6.5epss 0.00

    Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls appear inside tuples or nested calls. Contracts using such calls as tuple elements, call arguments, or builtin arguments like concat…

  • CVE-2026-114116MedOct 21, 2026
    risk 0.34cvss 5.3epss 0.00

    Vyper 0.1.0b1 before 0.1.0b17 and 0.4.1 through 0.5.0b1 builds its source-line table with str.splitlines(), which treats characters like form feed and U+2028 as line breaks the Python parser ignores, so numeric literals are classified and validated from shifted source text. An…

  • CVE-2026-114114MedOct 21, 2026
    risk 0.34cvss 5.3epss 0.00

    Vyper 0.1.0b1 before 0.1.0b12, 0.1.0b14, and 0.4.1 through 0.5.0b1 mix character-based line offsets with Python's UTF-8 byte col_offset values in vyper/ast/parse.py, so multi-byte characters shift the source slices used to reconstruct later numeric literals. An attacker…

  • CVE-2024-32647MedApr 25, 2024
    risk 0.34cvss 5.3epss 0.00

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `create_from_blueprint` builtin can result in a double eval vulnerability when `raw_args=True` and the `args` argument has side-effects. It can be seen that the…

  • CVE-2024-32645MedApr 25, 2024
    risk 0.34cvss 5.3epss 0.00

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, incorrect values can be logged when `raw_log` builtin is called with memory or storage arguments to be used as topics. A contract search was performed and no vulnerable…

  • CVE-2026-114118MedOct 21, 2026
    risk 0.31cvss 4.8epss 0.00

    Vyper 0.3.4 through 0.5.0b1 computes the remaining blueprint size in create_from_blueprint by uint256 subtraction without first checking that code_offset is below the blueprint's code size, so a huge offset wraps to a small positive value. An attacker controlling code_offset can…

  • CVE-2020-37287MedOct 21, 2026
    risk 0.31cvss 5.9epss 0.00

    Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimensional arrays or structs to internal or external functions receive corrupted…

  • CVE-2023-39363MedAug 7, 2023
    risk 0.31cvss 5.9epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). In versions 0.2.15, 0.2.16 and 0.3.0, named re-entrancy locks are allocated incorrectly. Each function using a named re-entrancy lock gets a unique lock regardless of the key, allowing…

  • CVE-2024-32481MedApr 25, 2024
    risk 0.28cvss 5.3epss 0.01

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Starting in version 0.3.8 and prior to version 0.4.0b1, when looping over a `range` of the form `range(start, start + N)`, if `start` is negative, the execution will always revert. This issue is caused…

  • CVE-2021-41122MedOct 5, 2021
    risk 0.28cvss 4.3epss 0.01

    Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions external functions did not properly validate the bounds of decimal arguments. The can lead to logic errors. This issue has been resolved in version 0.3.0.

  • CVE-2024-32649MedApr 25, 2024
    risk 0.27cvss 5.3epss 0.00

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `sqrt` builtin can result in double eval vulnerability when the argument has side-effects. It can be seen that the `build_IR` function of the `sqrt` builtin…

  • CVE-2024-32648MedApr 25, 2024
    risk 0.27cvss 5.3epss 0.00

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Prior to version 0.3.0, default functions don't respect nonreentrancy keys and the lock isn't emitted. No vulnerable production contracts were found. Additionally, using a lock on a `default` function…

  • CVE-2024-32646MedApr 25, 2024
    risk 0.27cvss 5.3epss 0.00

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `slice` builtin can result in a double eval vulnerability when the buffer argument is either `msg.data`, `self.code` or `.code` and either the `start`…

  • CVE-2023-42460MedSep 27, 2023
    risk 0.27cvss 5.3epss 0.01

    Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed resulting in incorrect results. This issue…

  • CVE-2023-42441MedSep 18, 2023
    risk 0.27cvss 5.3epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Starting in version 0.2.9 and prior to version 0.3.10, locks of the type `@nonreentrant("")` or `@nonreentrant('')` do not produce reentrancy checks at runtime. This issue is fixed in version…

  • CVE-2023-37902MedJul 25, 2023
    risk 0.27cvss 5.3epss 0.01

    Vyper is a Pythonic programming language that targets the Ethereum Virtual Machine (EVM). Prior to version 0.3.10, the ecrecover precompile does not fill the output buffer if the signature does not verify. However, the ecrecover builtin will still return whatever is at memory…

  • CVE-2021-48019MedOct 21, 2026
    risk 0.24cvss 4.8epss 0.00

    Vyper before 0.2.9 deploys forwarder proxies through the built-in create_forwarder_to function that report a fixed 4096-byte RETURNDATASIZE rather than the actual return data size. Calls through these proxies can yield corrupted data when a function returns more than 4096 bytes…

  • CVE-2024-24560LowFeb 2, 2024
    risk 0.24cvss 3.7epss 0.01

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. When calls to external contracts are made, we write the input buffer starting at byte 28, and allocate the return buffer to start at byte 0 (overlapping with the input buffer). When checking…

  • CVE-2024-24567MedJan 30, 2024
    risk 0.24cvss 4.8epss 0.00

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due…

  • CVE-2026-114115LowOct 21, 2026
    risk 0.17cvss 3.7epss 0.00

    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…

  • CVE-2020-37289LowOct 21, 2026
    risk 0.17cvss 3.7epss 0.00

    Vyper before 0.3.1 lacks a uint8 type, allowing interface return values declared as uint8, such as ERC20.decimals(), to be stored in uint256 variables without bounds checking. Malicious contracts can return values greater than 255 to manipulate or bypass contract logic that…

  • CVE-2020-37288LowOct 21, 2026
    risk 0.17cvss 3.7epss 0.00

    Vyper from 0.1.0b10 before 0.2.3 generates incorrect code for a return statement inside a for loop in an internal function called two or more internal calls deep, producing an invalid jump destination (stack underflow). Affected contracts revert such calls unnecessarily, which…

  • CVE-2024-26149LowFeb 26, 2024
    risk 0.17cvss 3.7epss 0.01

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. If an excessively large value is specified as the starting index for an array in `_abi_decode`, it can cause the read position to overflow. This results in the decoding of values outside the intended…

  • CVE-2024-24564LowFeb 26, 2024
    risk 0.17cvss 3.7epss 0.01

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. When using the built-in `extract32(b, start)`, if the `start` index provided has for side effect to update `b`, the byte array to extract `32` bytes from, it could be that some dirty memory is read and…

  • CVE-2024-24559LowFeb 5, 2024
    risk 0.17cvss 3.7epss 0.00

    Vyper is a Pythonic Smart Contract Language for the EVM. There is an error in the stack management when compiling the `IR` for `sha3_64`. Concretely, the `height` variable is miscalculated. The vulnerability can't be triggered without writing the `IR` by hand (that is, it cannot…

  • CVE-2023-41052LowSep 4, 2023
    risk 0.17cvss 3.7epss 0.01

    Vyper is a Pythonic Smart Contract Language. In affected versions the order of evaluation of the arguments of the builtin functions `uint256_addmod`, `uint256_mulmod`, `ecadd` and `ecmul` does not follow source order. This behaviour is problematic when the evaluation of one of…

  • CVE-2023-40015LowSep 4, 2023
    risk 0.17cvss 3.7epss 0.00

    Vyper is a Pythonic Smart Contract Language. For the following (probably non-exhaustive) list of expressions, the compiler evaluates the arguments from right to left instead of left to right. `unsafe_add, unsafe_sub, unsafe_mul, unsafe_div, pow_mod256, |, &, ^ (bitwise…

Page 1 of 2