p PatchFirst

CVE-2020-37287

CVE-2020-37287 · Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 values because the compiler assumed each subtype size is 32.

CVSS 8.2 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • vyper

    Versions
    • ≥ 0, < 0.2.6: Affected (python)
    • 0.2.6: Not affected (python)

    Update to 0.2.6

  • vyper PyPI

    Versions
    • 0.1.0b1
    • 0.1.0b10
    • 0.1.0b11
    • 0.1.0b12
    • 0.1.0b13
    • 0.1.0b14
    • 0.1.0b15
    • 0.1.0b16
    • 0.1.0b17
    • 0.1.0b2
    • 0.1.0b3
    • 0.1.0b4
    • 0.1.0b5
    • 0.1.0b6
    • 0.1.0b7
    • 0.1.0b8
    • 0.1.0b9
    • 0.2.1
    • 0.2.2
    • 0.2.3
    • 0.2.4
    • 0.2.5
    Affected ranges
    • ECOSYSTEM: < 0.2.6

    Update to 0.2.6

Original sources

Check your server →