VYPR

Vyper

by Vyperlang

pypi: vyper

Source repositories

CVEs (53)

  • 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…