# CVE-2024-27530: pywasm3 contains a Use-After-Free in ForEachModule

- Severity: High 8.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/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.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-08T00:00:00.000Z
- Modified: 2026-06-17T07:19:59.827Z
- Also known as: GHSA-46r6-92jg-22jg, PYSEC-2024-306
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

wasm3 139076a contains a Use-After-Free in ForEachModule.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/wasm3/wasm3/issues/458> (exploit, issue-tracking, report, web)
- <https://gist.github.com/haruki3hhh/94dd274487b58e037bcc8839dc88b203> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27530> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pywasm3/PYSEC-2024-306.yaml> (web)
- <https://github.com/wasm3/pywasm3> (package)
- <https://github.com/wasm3/pywasm3/blob/main/wasm3/m3_env.c#L202> (web)
- <https://github.com/advisories/GHSA-46r6-92jg-22jg> (advisory)

## Sources

- CVE List: [CVE-2024-27530](https://www.cve.org/CVERecord?id=CVE-2024-27530), CVE Terms of Use, modified 2025-03-13
- GitHub Advisory Database: [GHSA-46r6-92jg-22jg](https://github.com/advisories/GHSA-46r6-92jg-22jg), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2024-27530](https://nvd.nist.gov/vuln/detail/CVE-2024-27530), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-306](https://osv.dev/vulnerability/PYSEC-2024-306), CC-BY-4.0, modified 2026-06-10

---

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