{"id":"CVE-2026-114115","state":"PUBLISHED","title":"Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection","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.","publishedAt":"2026-10-21T00:37:13.251Z","updatedAt":"2026-10-21T15:49:19.495Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["vyperlang vyper"],"affected":[{"vendor":"vyperlang","product":"vyper","packageURL":"pkg:pypi/vyper","defaultStatus":"unaffected","versions":[{"version":"0.3.8","status":"affected","lessThanOrEqual":"0.5.0b1","versionType":"python"}]}],"references":["https://github.com/vyperlang/vyper/security/advisories/GHSA-cw3h-xwxq-8cx2","https://github.com/vyperlang/vyper/commit/1fb7dfe2","https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-memory-misread-via-ternary-nested-array-selection"],"weaknesses":["CWE-843"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/114xxx/CVE-2026-114115.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-114115","state":"PUBLISHED","datePublished":"2026-10-21T00:37:13.251Z","dateUpdated":"2026-10-21T15:49:19.495Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-20T21:48:58.503Z"},"containers":{"cna":{"title":"Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vyperlang","product":"vyper","packageURL":"pkg:pypi/vyper","defaultStatus":"unaffected","versions":[{"version":"0.3.8","status":"affected","lessThanOrEqual":"0.5.0b1","versionType":"python"}]}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-cw3h-xwxq-8cx2","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-cw3h-xwxq-8cx2)"},{"url":"https://github.com/vyperlang/vyper/commit/1fb7dfe2","tags":["patch"],"name":"Patch Commit"},{"url":"https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-memory-misread-via-ternary-nested-array-selection","name":"VulnCheck Advisory: Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-843","lang":"en","description":"Access of Resource Using Incompatible Type ('Type Confusion')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-21T00:37:13.251Z"},"datePublic":"2026-10-05T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*","versionStartIncluding":"0.3.8","versionEndIncluding":"0.5.0b1"}]}]}],"credits":[{"lang":"en","value":"harkal","type":"analyst"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-21T14:59:59.643585Z","id":"CVE-2026-114115","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-21T15:49:19.495Z"}}]}}}