# CVE-2022-39974: PYSEC-2022-43058 - WASM3 v0.5.0 was discovered to contain a segmentation fault via the component op_Select_i32_srs in wasm3/source/m3_exec.h.

Source: https://junglewise.ai/threats/cve-2022-39974-wasm3-improper-input-validation-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-20  
License: CC BY 4.0 with a link back

CVE-2022-39974 · Severity: low · CVSS 3.1 · Published 2022-09-20

WASM3 v0.5.0 was discovered to contain a segmentation fault via the component op_Select_i32_srs in wasm3/source/m3_exec.h.

Technologies: [pywasm3 (PyPI)](https://junglewise.ai/threats/technologies/pywasm3). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-39974 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-39974 being exploited in the wild.

**How severe is CVE-2022-39974?** Low severity, with a CVSS score of 3.1, published 20 September 2022.

**Which products and versions are affected?** pywasm3 (PyPI) ECOSYSTEM:introduced=0.

**Is there a fix for CVE-2022-39974?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2022-39974?** Check whether you run pywasm3 (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- pywasm3 (PyPI) ECOSYSTEM:introduced=0

## Identifiers

- CVE-2022-39974
- GHSA-crf8-h2wq-2h9x
- PYSEC-2022-43058

## Related threats

- [wasm3 and pywasm3 out-of-bounds write in MarkSlotAllocated](https://junglewise.ai/threats/cve-2025-6272-wasm3-and-pywasm3-out-of-bounds-write-in-markslotallocated)
- [wasm3 pywasm3 use-after-free in ForEachModule](https://junglewise.ai/threats/cve-2024-27530-wasm3-pywasm3-use-after-free-in-foreachmodule)
- [wasm3 pywasm3 out-of-bounds read in m3_exec.h](https://junglewise.ai/threats/cve-2024-27528-wasm3-pywasm3-out-of-bounds-read-in-m3-exec-h)
- [Wasm3 uncontrolled memory allocation in Read_utf8](https://junglewise.ai/threats/cve-2024-27529-wasm3-uncontrolled-memory-allocation-in-read-utf8)
- [PYSEC-2024-303 - wasm3 139076a is vulnerable to Denial of Service (DoS).](https://junglewise.ai/threats/cve-2024-27527-pysec-2024-303-wasm3-139076a-is-vulnerable-to-denial-of-service)
