BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-39228 in Linuxfoundation Tremor

Critical 9.8

Tremor is an event processing system for unstructured data. A vulnerability exists between versions 0.7.2 and 0.11.6. This vulnerability is a memory safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`. In this case, affected versions of Tremor and the tremor-script crate maint...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS1.3%
EPSS percentile72th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linuxfoundation Tremor ≥ 0.7.2, < 0.11.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Tremor is an event processing system for unstructured data. A vulnerability exists between versions 0.7.2 and 0.11.6. This vulnerability is a memory safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`. In this case, affected versions of Tremor and the tremor-script crate maintains references to memory that might have been freed already. And these memory regions can be accessed by retrieving the `state`, e.g. send it over TCP or HTTP. This requires the Tremor server (or any other program using tremor-script) to execute a tremor-script script that uses the mentioned language construct. The issue has been patched in version 0.11.6 by removing the optimization and always cloning the target expression of a Merge or Patch. If an upgrade is not possible, a possible workaround is to avoid the optimization by introducing a temporary variable and not immediately reassigning to `state`.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-39228
BreachSpider IDBS-2021-GLOBAL-074670-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2021-09-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

CWE-825: CWE-825

Analysis AI-written, not human-reviewed

A memory safety vulnerability exists in Tremor versions 0.7.2 to 0.11.6, affecting the `patch` or `merge` operations on `state`. This can lead to use-after-free conditions, potentially allowing attackers to execute arbitrary code.

The vulnerability arises from improper memory management when using `patch` or `merge` on `state` and then reassigning the result back to `state`. This can lead to dereferencing of freed memory, which can be exploited to execute arbitrary code.

Questions

What is CVE-2021-39228?

A memory safety vulnerability exists in Tremor versions 0.7.2 to 0.11.6, affecting the `patch` or `merge` operations on `state`. This can lead to use-after-free conditions, potentially allowing attackers to execute arbitrary code.

What is the CVSS score for CVE-2021-39228?

CVE-2021-39228 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.3%.

Is CVE-2021-39228 actively exploited?

No confirmed active exploitation of CVE-2021-39228 as of 2026-09-25.

How do I remediate CVE-2021-39228?

Priority: IMMEDIATE.

What systems are affected by CVE-2021-39228?

CVE-2021-39228 affects Linuxfoundation Tremor.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"Tremor","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.