VYPR

Vendor CVEs

Vyperlang

All CVEs

40 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-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-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-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-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-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-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.00

    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.00

    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-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-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.00

    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…

  • CVE-2023-32675LowMay 19, 2023
    risk 0.17cvss 3.7epss 0.01

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In contracts with more than one regular nonpayable function, it is possible to send funds to the default function, even if the default function is marked `nonpayable`. This applies to contracts…

  • CVE-2025-47774LowMay 15, 2025
    risk 0.12cvss epss 0.00

    Vyper is the Pythonic Programming Language for the Ethereum Virtual Machine. In versions up to and including 0.4.2rc1, the `slice()` builtin can elide side effects when the output length is 0, and the source bytestring is a builtin (`msg.data` or `.code`). The reason is…

  • CVE-2025-47285LowMay 15, 2025
    risk 0.12cvss epss 0.00

    Vyper is the Pythonic Programming Language for the Ethereum Virtual Machine. In versions up to and including 0.4.2rc1, `concat()` may skip evaluation of side effects when the length of an argument is zero. This is due to a fastpath in the implementation which skips evaluation of…

  • CVE-2022-24787HigApr 4, 2022
    risk 0.00cvss 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.00cvss 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-2021-41122MedOct 5, 2021
    risk 0.00cvss 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.