# CVE-2025-27105: AugAssign evaluation order causing OOB write within the object in Vyper

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `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`
- 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.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-21T21:27:28.056Z
- Modified: 2026-06-17T09:03:02.543Z
- Also known as: GHSA-4w26-8p97-f4jp, PYSEC-2025-31
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vyperlang vyper: < 0.4.1; before 0.4.1
- vyper (PyPI): before 0.4.1

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `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`
- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-4w26-8p97-f4jp> (exploit, evidence, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27105> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2025-31.yaml> (web)
- <https://github.com/vyperlang/vyper> (package)

## Sources

- CVE List: [CVE-2025-27105](https://www.cve.org/CVERecord?id=CVE-2025-27105), CVE Terms of Use, modified 2025-02-22
- GitHub Advisory Database: [GHSA-4w26-8p97-f4jp](https://github.com/advisories/GHSA-4w26-8p97-f4jp), CC-BY-4.0, modified 2025-04-09
- NVD: [CVE-2025-27105](https://nvd.nist.gov/vuln/detail/CVE-2025-27105), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-31](https://osv.dev/vulnerability/PYSEC-2025-31), CC-BY-4.0, modified 2025-04-09

---

Page: https://cve.day/CVE-2025-27105 · Whole record: https://cve.day/CVE-2025-27105.json · Rebuilt by cve.day 2026-11-25T22:58:54.223Z
