# CVE-2026-114115: Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-10-21T00:37:13.251Z
- Modified: 2026-10-22T17:39:56.760Z
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

Vyper 0.3.8 through 0.5.0b1 contains a compiler miscompilation vulnerability in parse_IfExp that reads nested arrays with narrower inner bounds using the wider result type's memory layout. When a ternary selects the narrower array, inner arrays after the first are read at wrong offsets, causing contracts to silently store corrupted values or revert.

(As written by CVE List.)

## Affected

- vyperlang vyper: from 0.3.8 up to 0.5.0b1

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-cw3h-xwxq-8cx2> (vendor-advisory)
- <https://github.com/vyperlang/vyper/commit/1fb7dfe2> (patch)
- <https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-memory-misread-via-ternary-nested-array-selection> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-114115](https://www.cve.org/CVERecord?id=CVE-2026-114115), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-114115](https://nvd.nist.gov/vuln/detail/CVE-2026-114115), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-114115 · Whole record: https://cve.day/CVE-2026-114115.json · Rebuilt by cve.day 2026-11-25T22:59:46.553Z
