← Back to search

CVE-2026-114663

8.4 HIGHpublic exploit available

Published 2026-10-22 · Updated 2026-10-23

AI risk analysis

Summary
Vyper versions 0.4.0b1 through 0.5.0b1 miscompile code where imported module constants or default arguments share names with local variables, causing the compiler to resolve them in the wrong scope; this allows an attacker to inject out-of-range values into narrow types (e.g., uint8), corrupting validation or accounting logic.
Exploitability
Exploitation requires the attacker to control input that populates a variable whose name collides with an imported constant or default argument, and the contract must use such a variable in a context where type coercion or validation occurs.
Blast radius
Successful exploitation can lead to critical logic errors such as bypassed balance checks, incorrect token transfers, or unauthorized access, potentially resulting in fund loss or protocol compromise.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Vyper 0.5.1 or later, which resolves the scope resolution issue for parse_Name.
miscompilationtype-confusionsmart-contractvyper

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-706

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.