{"id":"CVE-2024-34252","aliases":["CVE-2024-34252","GHSA-hh39-vjv8-j337","PYSEC-2024-309"],"related":[],"kind":"vulnerability","state":"published","title":"pywasm3 contains a global buffer overflow which leads to segmentation fault","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se descubrió que wasm3 v0.5.0 contenía un desbordamiento de búfer global que provoca un error de segmentación a través de la función \"PreserveRegisterIfOccupied\" en wasm3/source/m3_compile.c.","source":"nvd"}],"published":"2024-05-06T00:00:00.000Z","modified":"2026-06-17T07:33:09.110Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"0.5.0","status":"affected"}],"vendor":"wasm3_project","product":"wasm3","cpe":"cpe:2.3:a:wasm3_project:wasm3:0.5.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.5.0"}],"ecosystem":"PyPI","package":"pywasm3","purl":"pkg:pypi/pywasm3","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.5.0"}],"vendor":"wasm3_project","product":"wasm3","cpe":"cpe:2.3:a:wasm3_project:wasm3:0.5.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.5.0"}],"ecosystem":"PyPI","package":"pywasm3","purl":"pkg:pypi/pywasm3","source":"pysec"}],"references":[{"url":"https://github.com/wasm3/wasm3/issues/483","tags":["exploit","issue-tracking","report","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34252","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-309.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/wasm3/pywasm3","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_compile.c#L420","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-hh39-vjv8-j337","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-05-06T18:40:34.912Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34252","url":"https://www.cve.org/CVERecord?id=CVE-2024-34252","licence":"CVE Terms of Use","modified":"2024-08-05T20:05:17.909Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hh39-vjv8-j337","url":"https://github.com/advisories/GHSA-hh39-vjv8-j337","licence":"CC-BY-4.0","modified":"2026-06-09T19:26:18.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34252","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34252","licence":"Public domain","modified":"2026-06-17T07:33:09.110Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-309","url":"https://osv.dev/vulnerability/PYSEC-2024-309","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:32.771Z"}],"updatedAt":"2026-11-25T22:58:39.997Z","epss":{"score":0.00813,"percentile":0.54007,"date":"2026-11-30T12:00:22.000Z"}}