{"id":"GHSA-mq9p-qw76-q6h7","summary":"pywasm3 contains a heap buffer overflow which leads to segmentation fault","details":"wasm3 v0.5.0 was discovered to contain a heap buffer overflow which leads to segmentation fault via the function \"DeallocateSlot\" in wasm3/source/m3_compile.c.","aliases":["CVE-2024-34249","PYSEC-2024-308"],"modified":"2026-06-09T19:26:34.922712843Z","published":"2024-05-06T15:30:39Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-06-09T19:04:03Z","nvd_published_at":"2024-05-06T15:15:24Z","cwe_ids":["CWE-122"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34249"},{"type":"WEB","url":"https://github.com/wasm3/wasm3/issues/485"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-308.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-mq9p-qw76-q6h7/GHSA-mq9p-qw76-q6h7.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"}]}