# CVE-2025-6272: wasm3 m3_compile.c MarkSlotAllocated out-of-bounds write

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- 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.25%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-19T18:00:11.510Z
- Modified: 2026-06-17T10:01:30.133Z
- Also known as: GHSA-rrmw-gv85-w824, PYSEC-2025-186
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in wasm3 0.5.0 and classified as problematic. This vulnerability affects the function MarkSlotAllocated of the file source/m3_compile.c. The manipulation leads to out-of-bounds write. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- wasm3: 0.5.0
- pywasm3 (PyPI): up to 0.5.0
- wasm3_project wasm3: 0.5.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/wasm3/wasm3/issues/531> (exploit, issue-tracking, report, web)
- <https://github.com/user-attachments/files/19516600/wasm3_crash.txt> (exploit, evidence, web)
- <https://vuldb.com/?id.313276> (advisory, technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.313276> (permissions-required, report, signature, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?submit.593008> (advisory, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6272> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2025-186.yaml> (web)
- <https://github.com/wasm3/pywasm3> (package)
- <https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_compile.c#L333> (web)
- <https://github.com/advisories/GHSA-rrmw-gv85-w824> (advisory)

## Sources

- CVE List: [CVE-2025-6272](https://www.cve.org/CVERecord?id=CVE-2025-6272), CVE Terms of Use, modified 2025-06-23
- GitHub Advisory Database: [GHSA-rrmw-gv85-w824](https://github.com/advisories/GHSA-rrmw-gv85-w824), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2025-6272](https://nvd.nist.gov/vuln/detail/CVE-2025-6272), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-186](https://osv.dev/vulnerability/PYSEC-2025-186), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-6272 · Whole record: https://cve.day/CVE-2025-6272.json · Rebuilt by cve.day 2026-11-25T22:58:59.403Z
