Skip to content
CVE PROGRAM SOURCE RECORD6.0 Medium

CVE-2026-114116

Vyper through 0.5.0b1 Literal Value Manipulation via Line Separators

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

vyperlang vyper

Default version status: unaffected

  • 0.1.0b1 to < 0.1.0b17affected
  • 0.1.0b17unaffected
pkg:pypi/vyper

vyperlang vyper

Default version status: unaffected

  • 0.4.1 to ≤ 0.5.0b1affected
pkg:pypi/vyper

References