CVE-2026-114116: Vyper through 0.5.0b1 Literal Value Manipulation via Line Separators

Published Oct 21, 2026
·
Updated

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.

Affected Software

1 affected component
Vyper Vyper>=0.1.0b1<0.1.0b17, >=0.4.1<=0.5.0b1

Event History

Oct 21, 2026
CVE Published
via MITRE·12:37 AM
Data Sourced
via MITRE·12:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Vyper releases are affected?

The affected ranges are 0.1.0b1 before 0.1.0b17, and 0.4.1 through 0.5.0b1. The provided information does not identify fixed versions outside those ranges.

2

What does an attacker need to exploit this issue?

An attacker needs to contribute or otherwise influence Vyper source code that will be reviewed or compiled. Exploitation relies on inserting characters such as form feed or U+2028 into comments, strings, or indentation to cause numeric constants to be interpreted differently from the shifted source text.

3

What is the practical impact during code review?

Numeric address, integer, or decimal constants can be silently changed while the source appears misleading to reviewers. This can result in unintended integrity changes in the compiled contract logic.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203