---
title: "CVE-2024-34252: pywasm3 contains a global buffer overflow which leads to segmentation fault"
url: https://erroneo.us/security/cve/CVE-2024-34252/
description: "CVE-2024-34252 (pywasm3 (PyPI)): wasm3 v0.5.0 was discovered to contain a global buffer overflow which leads to segmentation fault via the function…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-05-06
date_modified: 2026-06-09
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-34252"
kev: false
cvss: 7.5
epss: 0.00632
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-34252: pywasm3 contains a global buffer overflow which leads to segmentation fault

**Signal:** Normal patch cycle. No exploitation signal; fix it in your next routine update if you are affected. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.6% , percentile 50: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 50% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes pywasm3 (PyPI) <= 0.5.0, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

wasm3 v0.5.0 was discovered to contain a global buffer overflow which leads to segmentation fault via the function "PreserveRegisterIfOccupied" in wasm3/source/m3compile.c.

## Affected packages

- PyPI `pywasm3` <= 0.5.0 → fixed: none listed

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- CISA-ADP CVSS 3.1: 7.5 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.63% probability of exploitation activity in the next 30 days; percentile 50.

## Sources

- [GitHub Advisory GHSA-hh39-vjv8-j337](https://github.com/advisories/GHSA-hh39-vjv8-j337)
- [CVE.org record CVE-2024-34252](https://www.cve.org/CVERecord?id=CVE-2024-34252)
- [NVD entry CVE-2024-34252](https://nvd.nist.gov/vuln/detail/CVE-2024-34252)
- [github.com](https://github.com/wasm3/wasm3/issues/483)
- [github.com](https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-309.yaml)
- [github.com](https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_compile.c#L420)

---
Source page: https://erroneo.us/security/cve/CVE-2024-34252/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
