# CVE-2024-32648: vyper default functions don't respect nonreentrancy keys

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2024-04-25T17:48:32.135Z
- Modified: 2026-06-17T07:30:01.660Z
- Also known as: GHSA-m2v9-w374-5hj9, PYSEC-2024-163
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable yes, 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.0, default functions don't respect nonreentrancy keys and the lock isn't emitted. No vulnerable production contracts were found. Additionally, using a lock on a `default` function is a very sparsely used pattern. As such, the impact is low. Version 0.3.0 contains a patch for the issue.

(As written by CVE List.)

## Affected

- vyperlang vyper: < 0.3.0; *; before 0.3.0
- vyper (PyPI): before 0.3.0; before 93287e5ac184b53b395c907d40701f721daf8177

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9> (advisory, vendor-advisory, web)
- <https://github.com/vyperlang/vyper/issues/2455> (issue-tracking, report, web)
- <https://github.com/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32648> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-163.yaml> (web)
- <https://github.com/vyperlang/vyper> (package)
- <https://github.com/advisories/GHSA-m2v9-w374-5hj9> (advisory)

## Sources

- CVE List: [CVE-2024-32648](https://www.cve.org/CVERecord?id=CVE-2024-32648), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-m2v9-w374-5hj9](https://github.com/advisories/GHSA-m2v9-w374-5hj9), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2024-32648](https://nvd.nist.gov/vuln/detail/CVE-2024-32648), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-163](https://osv.dev/vulnerability/PYSEC-2024-163), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-32648 · Whole record: https://cve.day/CVE-2024-32648.json · Rebuilt by cve.day 2026-11-25T22:58:39.606Z
