{"schema":"threatline.record/2","record":{"id":"CVE-2026-114117","aliases":["GHSA-6j9c-gvcw-74fj"],"summary":"Vyper 0.3.8 through 0.5.0b1 Optimizer Miscompilation of msg.value | K in Ternary Branches","details":"Vyper 0.3.8 through 0.5.0b1 contains an optimizer miscompilation in which (msg.value | K) or (len(msg.data) | K), where K is any nonzero integer literal, is compiled to the constant 1 when used as a ternary expression branch under -O gas (the default) or -O codesize. Affected contracts use the wrong value in storage writes, arithmetic, indexes, return values, or events without warning or revert, which can record deposits incorrectly and lock funds.","categories":["Unclassified"],"product":"vyper","vendor":"vyperlang","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-114117","source_modified_at":"2026-10-21T20:12:04.759Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"vyper","vendor":"vyperlang","versions":[{"version":"0.3.8","status":"affected","versionType":"python","lessThanOrEqual":"0.5.0b1"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":8.2,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00207,"percentile":0.10206,"score_date":"2026-10-23"},"published_at":"2026-10-21T00:37:14.741Z","modified_at":"2026-10-21T20:12:04.759Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-114117","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T20:12:04.759Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114117","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-6j9c-gvcw-74fj","tags":["exploit"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-optimizer-miscompilation-of-msg-value-k-in-ternary-branches","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-21T20:11:58.758962Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-21T20:12:04.759Z","content_hash":"b0f9e00b7d6c2b7ff7446b0c07ba3a2219530d63855cba4706713029b8fe6a7d"}}
