Description
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.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-176 — Improper Handling of Unicode Encoding
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vyperlang | vyper | 0.1.0b1 to <0.1.0b12 [affected]; 0.1.0b12 [unaffected] |
| vyperlang | vyper | 0.1.0b14 to <0.1.0b15 [affected]; 0.1.0b15 [unaffected] |
| vyperlang | vyper | 0.4.1 to <=0.5.0b1 [affected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 21 Oct 2026 07:04 UTC.