{"id":"GHSA-hh39-vjv8-j337","summary":"pywasm3 contains a global buffer overflow which leads to segmentation fault","details":"wasm3 v0.5.0 was discovered to contain a global buffer overflow which leads to segmentation fault via the function \"PreserveRegisterIfOccupied\" in wasm3/source/m3_compile.c.","aliases":["CVE-2024-34252","PYSEC-2024-309"],"modified":"2026-06-09T19:26:18.524663175Z","published":"2024-05-06T15:30:39Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-06-09T19:04:21Z","nvd_published_at":"2024-05-06T15:15:24Z","cwe_ids":["CWE-120"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34252"},{"type":"WEB","url":"https://github.com/wasm3/wasm3/issues/483"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-309.yaml"},{"type":"PACKAGE","url":"https://github.com/wasm3/pywasm3"},{"type":"WEB","url":"https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_compile.c#L420"}],"affected":[{"package":{"name":"pywasm3","ecosystem":"PyPI","purl":"pkg:pypi/pywasm3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.5.0"}]}],"versions":["0.0.1","0.0.2","0.4.8","0.4.9","0.5.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-hh39-vjv8-j337/GHSA-hh39-vjv8-j337.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}