CVE-2025-6272: pywasm3 has Improper Restriction of Operations within the Bounds of a Memory Buffer
A vulnerability has been found in wasm3 0.5.0 and classified as problematic. This vulnerability affects the function MarkSlotAllocated of the file source/m3compile.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.
Published Jun 19, 2025 · Updated Jun 9, 2026
Affected packages
pywasm3
- Ecosystem
- PyPI
- Affected
- <= 0.5.0
- Fixed in
- No patched version yet
- Check
pip show pywasm3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6272
- https://github.com/wasm3/wasm3/issues/531
- https://github.com/user-attachments/files/19516600/wasm3_crash.txt
- https://vuldb.com/?ctiid.313276
- https://vuldb.com/?id.313276
- https://vuldb.com/?submit.593008
- https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2025-186.yaml
- https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_compile.c#L333
- https://github.com/advisories/GHSA-rrmw-gv85-w824
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2024-27528
pywasm3 has an Invalid Memory Read, Leading to DoS and Potential Code Execution
high8.4No fixNov 9, 2024CVE-2024-27529
wasm3 uncontrolled memory allocation vulnerability
medium8.4No fixNov 9, 2024CVE-2024-27530
pywasm3 contains a Use-After-Free in ForEachModule
high8.4No fixNov 9, 2024CVE-2024-34249
pywasm3 contains a heap buffer overflow which leads to segmentation fault
critical9.8No fixMay 6, 2024CVE-2024-34252
pywasm3 contains a global buffer overflow which leads to segmentation fault
critical9.8No fixMay 6, 2024
