# CVE-2024-34249: pywasm3 contains a heap buffer overflow which leads to segmentation fault

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-06T00:00:00.000Z
- Modified: 2026-06-17T07:33:08.630Z
- Also known as: GHSA-mq9p-qw76-q6h7, PYSEC-2024-308
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wasm3_project wasm3: 0.5.0
- pywasm3 (PyPI): up to 0.5.0

## Every score

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

## References

- <https://github.com/wasm3/wasm3/issues/485> (exploit, issue-tracking, report, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34249> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-308.yaml> (web)
- <https://github.com/wasm3/pywasm3> (package)
- <https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_compile.c#L420> (web)
- <https://github.com/advisories/GHSA-mq9p-qw76-q6h7> (advisory)

## Sources

- CVE List: [CVE-2024-34249](https://www.cve.org/CVERecord?id=CVE-2024-34249), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-mq9p-qw76-q6h7](https://github.com/advisories/GHSA-mq9p-qw76-q6h7), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2024-34249](https://nvd.nist.gov/vuln/detail/CVE-2024-34249), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-308](https://osv.dev/vulnerability/PYSEC-2024-308), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-34249 · Whole record: https://cve.day/CVE-2024-34249.json · Rebuilt by cve.day 2026-11-25T22:58:39.996Z
