☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 🐛 CWE-20
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-58071

CVE-2025-58071 Denial of Service in F5
📅 PUBLISHED: 2025-10-15 15:19 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.09%
👁️
0.09% probability
2.2× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1499
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: N Confidentiality None
I: N Integrity None
A: H Availability High
7.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-58071 is a high-severity denial-of-service (DoS) vulnerability affecting F5 BIG-IP systems with IPsec configured. The flaw allows an unauthenticated attacker to send specially crafted undisclosed traffic that causes the Traffic Management Microkernel (TMM) to terminate, resulting in a complete loss of traffic processing capabilities. With a CVSS score of 7.5, this vulnerability poses a significant availability risk to organizations relying on BIG-IP for network traffic management and IPsec VPN services. No public exploit code or patch details are currently available, and the vendor has not released a fix for this issue.

⚡ 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

  • CVSS Score: 7.5 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector: Network (AV:N) – The vulnerability can be exploited remotely over the network.
  • Attack Complexity: Low (AC:L) – No special conditions or complex attack sequences are required.
  • Privileges Required: None (PR:N) – No authentication is needed to trigger the DoS.
  • User Interaction: None (UI:N) – The attack does not require any user action.
  • Scope: Unchanged (S:U) – The impact is confined to the vulnerable component.
  • Confidentiality Impact: None (C:N) – No data exposure.
  • Integrity Impact: None (I:N) – No data modification.
  • Availability Impact: High (A:H) – TMM termination leads to complete service disruption.

Threat Level: High. The combination of network-based, unauthenticated exploitation with low complexity makes this a serious threat for any organization using F5 BIG-IP with IPsec.

Deep Dive & Mechanics

The vulnerability resides in the Traffic Management Microkernel (TMM) of F5 BIG-IP systems when IPsec is enabled. TMM is a critical component responsible for processing all network traffic, including IPsec VPN traffic. The flaw is triggered by "undisclosed traffic" – likely a malformed or specially crafted IPsec packet or a sequence of packets that causes a memory corruption or an infinite loop within the TMM process.

Root Cause Analysis (Hypothetical): Based on the CWE-20 (Improper Input Validation) classification, the issue likely stems from insufficient validation of IPsec packet headers or payloads. When TMM receives a packet that violates expected IPsec protocol specifications (e.g., invalid Security Parameter Index (SPI), malformed IKE/ESP headers, or unexpected payload lengths), it may enter an undefined state. This could lead to a null pointer dereference, buffer overflow, or an unhandled exception that crashes the TMM process.

Attack Vector: An attacker on the network (or from the internet if IPsec is exposed) sends a series of specially crafted IPsec packets to the BIG-IP system. The TMM processes these packets and crashes, causing all traffic processing to halt. The system may automatically restart TMM, but the DoS condition persists if the attacker continues sending malicious traffic.

Impact:

  • Complete loss of traffic management capabilities.
  • Disruption of IPsec VPN services.
  • Potential cascading failures in network infrastructure relying on BIG-IP.

Vulnerable vs. Patched Code

No patch is currently available. The following is a hypothetical comparison based on common patching patterns for similar vulnerabilities.

Vulnerable Code (Hypothetical):

// Vulnerable: No validation of IPsec packet length
void process_ipsec_packet(struct packet *pkt) {
    struct ipsec_header *hdr = (struct ipsec_header *)pkt->data;
    // Directly uses hdr->payload_length without bounds check
    process_payload(pkt->data + sizeof(struct ipsec_header), hdr->payload_length);
}

Patched Code (Hypothetical):

// Patched: Added length validation
void process_ipsec_packet(struct packet *pkt) {
    struct ipsec_header *hdr = (struct ipsec_header *)pkt->data;
    if (hdr->payload_length > MAX_PAYLOAD_SIZE || hdr->payload_length < MIN_PAYLOAD_SIZE) {
        // Log and drop malformed packet
        log_error("Invalid IPsec payload length");
        return;
    }
    process_payload(pkt->data + sizeof(struct ipsec_header), hdr->payload_length);
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Access to a network segment where F5 BIG-IP with IPsec is reachable.
  • Ability to send raw IPsec packets (requires root or admin privileges on attacker machine).

Lab Setup:

  1. Set up a test environment with an F5 BIG-IP virtual edition (VE) or physical appliance.
  2. Configure IPsec on the BIG-IP (e.g., site-to-site VPN or remote access).
  3. Use a tool like scapy or a custom C program to craft malicious IPsec packets.

Exploitation Steps:

  1. Identify the target BIG-IP IP address and ensure IPsec is enabled.
  2. Craft a malformed IPsec packet (e.g., with an invalid SPI or oversized payload).
  3. Send the packet to the target using raw sockets.
  4. Monitor the BIG-IP for TMM crash (e.g., via syslog or SNMP).

Example Scapy Script:

from scapy.all import *
import socket

# Craft a malformed IPsec ESP packet
ip = IP(dst="192.168.1.100")
esp = ESP(spi=0x12345678, seq=1)
# Malformed payload: extremely large length
payload = Raw(b"A" * 65535)
packet = ip / esp / payload

# Send the packet
send(packet, verbose=1)

Note: This is a conceptual example. Actual exploitation requires precise knowledge of the vulnerable code path.

Blue Team (Detection & Defense)

Detection:

  • Monitor for TMM crashes in BIG-IP logs (/var/log/tmm).
  • Set up alerts for sudden drops in traffic throughput.
  • Use network monitoring to detect malformed IPsec packets.

Defense:

  • If possible, disable IPsec on BIG-IP until a patch is available.
  • Implement network segmentation to limit exposure of BIG-IP management and IPsec interfaces.
  • Use an IPS/IDS to detect and block malformed IPsec packets.
  • Apply virtual patching via WAF or network firewall rules.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Malformed IPsec packets with invalid SPI values (e.g., SPI=0x00000000 or SPI=0xFFFFFFFF).
    • IPsec packets with payload lengths exceeding 65535 bytes.
    • Sudden increase in IPsec-related error logs on BIG-IP.
  • System IOCs:
    • TMM process crash logs in /var/log/tmm or /var/log/ltm.
    • Core dump files generated in /var/core/.
    • SNMP traps indicating TMM failure.
  • Log Examples:
    err tmm[12345]: 012e0001:3: TMM process terminated unexpectedly.
    warning tmm[12345]: 012e0001:2: Invalid IPsec packet received from 10.0.0.5.
    

Detection Engineering

YARA Rule

rule CVE_2025_58071_IPsec_DoS {
    meta:
        description = "Detects malformed IPsec packets targeting F5 BIG-IP TMM"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-58071"
    strings:
        $esp_header = { 00 00 00 00 } // Invalid SPI (0x00000000)
        $large_payload = { FF FF }     // Payload length > 65535
    condition:
        $esp_header or $large_payload
}

Sigma Rule

title: F5 BIG-IP TMM Crash Due to Malformed IPsec Traffic
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects TMM crash events caused by malformed IPsec packets
author: Valters IT
logsource:
    product: f5
    service: bigip
detection:
    selection:
        - EventID: "012e0001"
          Message: "*TMM process terminated*"
        - EventID: "012e0001"
          Message: "*Invalid IPsec packet*"
    condition: selection
falsepositives:
    - Legitimate IPsec misconfigurations
level: high

Suricata Rule

alert ip any any -> any any (msg:"CVE-2025-58071 - Malformed IPsec Packet Targeting F5 BIG-IP"; ip_proto:esp; content:"|00 00 00 00|"; offset:0; depth:4; sid:1000001; rev:1;)
alert ip any any -> any any (msg:"CVE-2025-58071 - Oversized IPsec Payload"; ip_proto:esp; content:"|FF FF|"; offset:4; depth:2; sid:1000002; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable IPsec on BIG-IP systems if not critical to operations.
  2. Apply network access controls to restrict IPsec traffic to trusted sources only.
  3. Monitor for TMM crashes and set up automated alerts.

Long-term Fix:

  • Await an official patch from F5. Check F5's security advisory page regularly.
  • Once a patch is released, apply it to all affected systems immediately.
  • Consider upgrading to a supported software version if currently on an EoTS release.

Workarounds:

  • Use an alternative VPN solution (e.g., OpenVPN, WireGuard) until a patch is available.
  • Implement rate limiting on IPsec traffic to reduce attack surface.

Valters IT
DevSecOps & Cyber Threat Intelligence

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

F5 BIG-IP IPsec
BIG-IP TMM

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-58071/ · 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.