{"id":"CVE-2025-27105","published":"2025-02-21T21:27:28Z","modified":"2025-02-22T15:37:28Z","title":"AugAssign evaluation order causing OOB write within the object in Vyper","vendor":"vyperlang","product":"vyper","tier":"tail","description":{"text":"vyper is a Pythonic Smart Contract Language for the EVM. Vyper handles AugAssign statements by first caching the target location to avoid double evaluation. However, in the case when target is an access to a DynArray and the rhs modifies the array, the cached target will evaluate first, and the bounds check will not be re-evaluated during the write portion of the statement. This issue has been addressed in version 0.4.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00902,"percentile":0.57742,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-4w26-8p97-f4jp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":11.55},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"vyperlang","affectedVersions":[{"vendor":"vyperlang","product":"vyper","versions":["< 0.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-22T15:36:50.306173Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vyper","vulnerableRanges":["<0.4.1"],"patched":["0.4.1"],"from":["GHSA-4w26-8p97-f4jp","PYSEC-2025-31"],"provenance":"source"}],"summary":{"text":"The Vyper smart contract language (vyperlang vyper) mishandles AugAssign statements on dynamic arrays: when the right-hand side modifies the array, the cached target location is written without re-checking bounds, producing an out-of-bounds write within the object. An attacker who can get a contract to execute such a statement with crafted inputs, where the right-hand side alters the array, can corrupt memory within the object; the attack requires low-privilege access and the attack surface is limited to the affected code pattern, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:05Z"},"euvd":{"id":"EUVD-2025-4283","exploited":false,"provenance":"source"}}