Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. vyper
  4. ›
  5. CVE-2023-42443

CVE-2023-42443: Vyper vulnerable to memory corruption in certain builtins utilizing `msize`

September 20, 2023 (updated November 22, 2024)

In certain conditions, the memory used by the builtins raw_call, create_from_blueprint and create_copy_of can be corrupted.

  • For raw_call, the argument buffer of the call can be corrupted, leading to incorrect calldata in the sub-context.
  • For create_from_blueprint and create_copy_of, the buffer for the to-be-deployed bytecode can be corrupted, leading to deploying incorrect bytecode.

Below are the conditions that must be fulfilled for the corruption to happen for each builtin:

References

  • github.com/advisories/GHSA-c647-pxm2-c52w
  • github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2023-306.yaml
  • github.com/vyperlang/vyper
  • github.com/vyperlang/vyper/commit/79303fc4fcba06994ee5c6a7baef57bdb185006c
  • github.com/vyperlang/vyper/issues/3609
  • github.com/vyperlang/vyper/pull/3610
  • github.com/vyperlang/vyper/security/advisories/GHSA-c647-pxm2-c52w
  • nvd.nist.gov/vuln/detail/CVE-2023-42443

Code Behaviors & Features

Detect and mitigate CVE-2023-42443 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.3.4 before 0.3.10

Fixed versions

  • 0.3.10

Solution

Upgrade to version 0.3.10 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

pypi/vyper/CVE-2023-42443.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:31 +0000.