p PatchFirst

CVE-2026-114663

CVE-2026-114663 · Vyper 0.4.0b1 through 0.5.0b1 Name Shadowing of Imported Constants and Default Arguments

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

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 a name, attacker-influenced input can replace the intended value, including out-of-range values for narrow types such as uint8, corrupting validation or accounting logic.

CVSS 8.6 · High · EPSS 0.1%

Published
Updated

Affected products and versions

  • vyper

    Versions
    • ≥ 0.4.0b1, ≤ 0.5.0b1: Affected (python)

    No fix published

Original sources

Check your server →