Skip to content
Heist/ feed
Back to feed
Critical

RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-30960
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:17 UTC · Revision 1

Source evidence

RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface

core-osv · Original source

Published 10 Mar 2026, 17:11 UTC

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.

osv:CVE-2026-30960
Complete source record
{
  "id": "4dd9eb8943337660306adc3a8785a64ca914da4dadfe769c7066f5e41ea78cd7",
  "url": "https://osv.dev/vulnerability/CVE-2026-30960",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RSSN has Arbitrary Code Execution via Unvalidated JIT Instruction Generation in C-FFI Interface",
    "summary": "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.",
    "evidence": "osv:CVE-2026-30960",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-30960",
      "aliases": [
        "CVE-2026-30960",
        "GHSA-9c4h-pwmf-m6fj",
        "RUSTSEC-2026-0038"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apich-organization/rssn",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "82a8687bad55302feac27ca1bdffbfbf12745c78"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "82a8687bad55302feac27ca1bdffbfbf12745c78"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.2.9"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.2.7",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.1.21-avx2",
            "v0.1.21",
            "v0.1.19",
            "v0.1.18",
            "v0.1.17",
            "v0.1.15",
            "v0.1.14",
            "0.1.13",
            "0.1.12",
            "dylib-v0.1.11",
            "dylib-v0.1.10",
            "dylib-v0.1.8",
            "dylib-v0.1.7",
            "dylib"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30960.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.953890908Z",
      "provider": "osv",
      "references": [
        "https://github.com/Apich-Organization/rssn/releases/tag/v0.2.9",
        "https://github.com/Apich-Organization/rssn/security/advisories/GHSA-9c4h-pwmf-m6fj",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30960.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-30960",
        "https://rustsec.org/advisories/RUSTSEC-2026-0038.html"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-269",
          "CWE-695",
          "CWE-754",
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30960.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-30960",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505229,
  "published_at": "2026-03-10T17:11:10.797+00:00"
}