Skip to content
Heist/ feed
Medium

Vyper through 0.5.0b1 Literal Value Substitution via Multi-byte Characters

Type: advisorySource: Official CVE List1 source record

Vyper 0.1.0b1 before 0.1.0b12, 0.1.0b14, and 0.4.1 through 0.5.0b1 mix character-based line offsets with Python's UTF-8 byte col_offset values in vyper/ast/parse.py, so multi-byte characters shift the source slices used to reconstruct later numeric literals. An attacker contributing source with non-ASCII identifiers that NFKC-normalize to ASCII, or an invisible byte-order mark, can silently substitute addresses, integers or other constants in compiled code.

Announced Source revision 1
Original source ↗

CVE-2026-114114

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-114114

vyper

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

vyper

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

vyper

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "vyperlang",
    "product": "vyper",
    "versions": [
      {
        "status": "affected",
        "version": "0.1.0b1",
        "lessThan": "0.1.0b12",
        "versionType": "python"
      },
      {
        "status": "unaffected",
        "version": "0.1.0b12",
        "versionType": "python"
      }
    ],
    "packageURL": "pkg:pypi/vyper",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "vyperlang",
    "product": "vyper",
    "versions": [
      {
        "status": "affected",
        "version": "0.1.0b14",
        "lessThan": "0.1.0b15",
        "versionType": "python"
      },
      {
        "status": "unaffected",
        "version": "0.1.0b15",
        "versionType": "python"
      }
    ],
    "packageURL": "pkg:pypi/vyper",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "vyperlang",
    "product": "vyper",
    "versions": [
      {
        "status": "affected",
        "version": "0.4.1",
        "versionType": "python",
        "lessThanOrEqual": "0.5.0b1"
      }
    ],
    "packageURL": "pkg:pypi/vyper",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-114114

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#44982 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement