Skip to main content

CVE-2022-39974 — Vulnerability in wasm3 — CVE Details

HIGH

WASM3 Improper Input Validation vulnerability

Published September 21, 2022Updated October 15, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.98%). Schedule for your next planned update.

Does your project use an affected wasm3 version?

Paste your Cargo.lock to check it for CVE-2022-39974 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

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

Advisory Timeline

  • First published September 21, 2022 (1527 days ago).
  • Last revised October 15, 2024 — 756 days after initial publication.

Affected Packages (2)

Affects 2 ecosystems: crates.io (1), PyPI (1).

PackageFixed In
wasm3 crates.io · Affected: All versionsRange-based data available
pywasm3 PyPI · Affected: 0.0.1, 0.0.2, 0.4.8, 0.4.9 (+1 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-119
    Buffer OverflowMITRE
  • CWE-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2022-39974?
WASM3 Improper Input Validation vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2022-39974?
CVE-2022-39974 affects wasm3 and pywasm3. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-39974 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.98%
EPSS percentile: 60.8

This is an above-median EPSS score — 60.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

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

Related CVEs

  • CVE-2026-128139
    HIGH

    NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service

  • CVE-2026-129222
    HIGH

    Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()

  • CVE-2024-27529
    MEDIUM

    wasm3 uncontrolled memory allocation vulnerability

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock