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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.4
- **CVSS:** 9.4 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-94, CWE-269, CWE-695, CWE-754
- **Aliases:** GHSA-9c4h-pwmf-m6fj, RUSTSEC-2026-0038
- **Published:** 2026-03-08T12:00:00.000Z
- **Modified:** 2026-10-12T18:00:13.557Z

## Who should check

- Projects that depend on crates.io package rssn (\< 0.2.9)
- Anyone running Apich-Organization rssn \< 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.

## Affected and fixed versions

- crates.io `rssn`: affected \< 0.2.9; fixed 0.2.9 (osv)
- Apich-Organization rssn: \< 0.2.9 (cvelist)

## Mitigation

- Upgrade rssn to 0.2.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-30960. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-30960.md
Affected: rssn < 0.2.9
Fixed in: 0.2.9

Steps:
1. Search this machine and project for rssn (crates.io), Apich-Organization rssn: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-30960 being exploited?

There is no confirmed exploitation: CVE-2026-30960 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-30960?

Critical: CVSS 9.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-30960?

rssn \< 0.2.9.

### Is there a fix for CVE-2026-30960?

Yes. Fixed in 0.2.9. Upgrade rssn to 0.2.9 or later.

### How do I check if I'm affected by CVE-2026-30960?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Apich-Organization/rssn/security/advisories/GHSA-9c4h-pwmf-m6fj>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0038.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-30960>
- patch: <https://github.com/Apich-Organization/rssn/commit/dea11c594f39db503e84a51f1e3c2a93f8baa8eb>
- other: <https://github.com/Apich-Organization/rssn/releases/tag/v0.2.9>
- other: <https://github.com/Apich-Organization/rssn>
- other: <https://crates.io/crates/rssn>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-30960>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9c4h-pwmf-m6fj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0038> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-30960> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-30960>
