CVE Catalog

CVE-2026-114116

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

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 ignored by the Python parser, causing numeric literals to be classified from shifted source text.

Risk Assessment

An attacker contributing source code can hide these characters in comments, strings, or indentation to silently change addresses, integers, or decimal constants in compiled code. This can lead to unexpected contract behavior and loss of funds.

Recommendation

Update Vyper to a version with the fix. Carefully review source code for unusual Unicode characters.

Other vulnerabilities in Vyper

See all
Original NVD description (English source)

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 attacker contributing source code can hide these characters in comments, strings or indentation to silently change address, integer or decimal constants.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS