Skip to content

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

HighCVSS 8.6 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi vyper >= 0.4.0b1, <= 0.5.0b1 after 0.5.0b1 Fixed

Affected products

ProductAffected versionsFixed in
pypi vyper >= 0.4.0b1, <= 0.5.0b1 No fix listed

References