# CVE-2023-32059: Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A: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.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-11T21:01:11.456Z
- Modified: 2026-09-10T03:50:01.672Z
- Also known as: GHSA-ph9x-4vc9-m39g, PYSEC-2023-79
- Weaknesses: CWE-683
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-to-left, but left-to-right. If the types are incompatible, typechecking is bypassed. The ability to pass kwargs to internal functions is an undocumented feature that is not well known about. The issue is patched in version 0.3.8.

(As written by CVE List.)

## Affected

- vyperlang vyper: < 0.3.8; before 0.3.8
- vyper (PyPI): before 0.3.8; before c3e68c302aa6e1429946473769dd1232145822ac

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-ph9x-4vc9-m39g> (exploit, advisory, vendor-advisory, web)
- <https://github.com/vyperlang/vyper/commit/c3e68c302aa6e1429946473769dd1232145822ac> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32059> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2023-79.yaml> (web)
- <https://github.com/vyperlang/vyper> (package)

## Sources

- CVE List: [CVE-2023-32059](https://www.cve.org/CVERecord?id=CVE-2023-32059), CVE Terms of Use, modified 2025-01-24
- GitHub Advisory Database: [GHSA-ph9x-4vc9-m39g](https://github.com/advisories/GHSA-ph9x-4vc9-m39g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-32059](https://nvd.nist.gov/vuln/detail/CVE-2023-32059), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-79](https://osv.dev/vulnerability/PYSEC-2023-79), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-32059 · Whole record: https://cve.day/CVE-2023-32059.json · Rebuilt by cve.day 2026-11-25T22:58:24.117Z
