Description
tor before 0.4.9.9 was prone to a NULL write after free when sending a CONFLUX_SWITCH cell fails. The return value of relay_send_command_from_edge() was ignored, so a send failure (which calls circuit_mark_for_close() and removes the leg via cfx_del_leg()) would go undetected, causing the caller to write to the now-freed current leg and resulting in a crash. This is TROVE-2026-017.
Published: 2026-08-20
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

A NULL write after free occurs in the tor relay when a CONFLUX_SWITCH cell fails to send. The failure is not detected because the function relay_send_command_from_edge ignores its return value, causing the relay to attempt to write to a leg that has already been freed. This overwrite leads to a crash, disrupting the relay and potentially any clients relying on it. The weakness is a classic example of unchecked return value misuse, identified as CWE-252.

Affected Systems

Tor versions prior to 0.4.9.9 are affected. The issue applies to all builds of the tor project that use the relay_send_command_from_edge code path. No specific patch version was listed beyond the fact that tor 0.4.9.9 fixed the bug.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate to high severity for disruption. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. The most likely attack vector requires an attacker able to send or influence a CONFLUX_SWITCH cell to a targeted relay; this could be achieved by a malicious network participant or by forcing a send failure. While the vulnerability does not expose confidentiality or integrity, it can enable a denial of service against the Tor network by crashing a relay.

Generated by OpenCVE AI on August 21, 2026 at 01:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade tor to version 0.4.9.9 or later.
  • Restart the tor process so that the updated code takes effect.
  • Monitor relay logs and restart patterns for signs of crashes and consider automating failover for high‑availability relays.

Generated by OpenCVE AI on August 21, 2026 at 01:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
Title NULL Write After Free in Tor Relay Leading to Crash

Thu, 20 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description tor before 0.4.9.9 was prone to a NULL write after free when sending a CONFLUX_SWITCH cell fails. The return value of relay_send_command_from_edge() was ignored, so a send failure (which calls circuit_mark_for_close() and removes the leg via cfx_del_leg()) would go undetected, causing the caller to write to the now-freed current leg and resulting in a crash. This is TROVE-2026-017.
First Time appeared Torproject
Torproject tor
Weaknesses CWE-252
CPEs cpe:2.3:a:torproject:tor:*:*:*:*:*:*:*:*
Vendors & Products Torproject
Torproject tor
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-27T16:06:56.149Z

Reserved: 2026-08-20T21:09:40.882Z

Link: CVE-2026-77641

cve-icon Vulnrichment

Updated: 2026-08-27T15:48:25.346Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T21:17:11.517

Modified: 2026-09-08T18:23:16.410

Link: CVE-2026-77641

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T01:30:05Z

Weaknesses