Skip to main content

iperf3 CVE-2026-101276

| EUVDEUVD-2026-90387 CRITICAL
Use After Free (CWE-416)
2026-09-30 Anthropic GHSA-pmgg-x2vj-36cv
9.2
CVSS 4.0 · Vendor: Anthropic
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Connect to exposed iperf3 server
  2. Delivery
    Start test spawning worker threads
  3. Exploit
    Stall worker to hold stream reference
  4. Install
    Trigger per-test watchdog timeout
  5. C2
    Watchdog frees active iperf_stream
  6. Execute
    Blocked worker dereferences freed heap
  7. Impact
    Server crash or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a reachable iperf3 3.21 server running in server mode (iperf3 -s) accepting connections from the attacker; no authentication or user interaction is needed (PR:N/UI:N). The limiting factor is the race condition (AT:P): the attacker must cause a worker thread to remain blocked while the per-test watchdog timer (server_timer_proc) fires and frees the iperf_stream, so exploitation hinges on timing the attacker only partially controls, and success is not guaranteed on a single attempt. Only iperf3 servers exposed to untrusted networks are practically at risk; client-only or firewalled deployments are not.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H, 9.2) describes a remote, unauthenticated heap use-after-free with full impact to the vulnerable system, but the AT:P attack-requirement is the pivotal signal: exploitation depends on winning a timing race between the per-test watchdog (server_timer_proc) freeing an iperf_stream and a still-blocked worker thread dereferencing it. That race makes reliable exploitation nontrivial, and while any UAF is a candidate for code execution, the most dependable outcome against a network daemon is a server crash (denial of service); the VC:H/VI:H claims are aspirational for a UAF of this shape and not demonstrated. There is no EPSS score, no CISA KEV listing, and no public POC in the provided data, and the finding was self-reported by Anthropic rather than observed in the wild - so this is a credible, high-severity latent bug rather than an active threat. Priority is real for anyone exposing an iperf3 3.21 server to untrusted networks (unauthenticated + network reachable), but the race condition and absence of any exploitation evidence place realistic urgency below what the raw 9.2 would suggest.

Exploit ScenarioDerived

An attacker reachable on the network connects as an unauthenticated iperf3 client to a running iperf3 3.21 server and initiates a test that spawns worker threads. By stalling a worker so it holds a reference to an iperf_stream while the server's per-test watchdog timer fires and frees that stream, the attacker triggers the blocked worker to dereference freed heap memory, crashing the server and potentially corrupting the heap. No public exploit code has been identified, and the AT:P attack requirement means the attacker must reliably win the free-versus-dereference race.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 30, 2026

Remote unauthenticated heap use-after-free in iperf3 3.21 can let an attacker crash or potentially execute code on an exposed iperf3 server. The flaw occurs in server mode when the per-test watchdog frees an iperf_stream without joining the worker thread, and a blocked worker then dereferences the freed memory; exploitation requires winning a timing race (AT:P), so success is not guaranteed on a single attempt. No public exploit identified at time of analysis; the vendor fix is iperf3 3.22.

RemediationAI

Vendor-released patch: upgrade to iperf3 3.22 (see https://newreleases.io/project/github/esnet/iperf/release/3.22). Because the flaw is a race condition in the server-mode watchdog, there is no reliable runtime workaround; the most effective compensating controls are to avoid exposing iperf3 server mode to untrusted networks by restricting access to TCP port 5201 (default) via firewall or bind to localhost/management interfaces, and to run the server as an unprivileged user in an isolated container or network namespace to limit impact if a crash-to-code-execution chain is achieved. These controls reduce the attack surface but do not eliminate the UAF on their own, and they may prevent legitimate remote throughput testing; patching remains the only complete fix.

Affected VersionsENISA

iperf3 3.21

Affected Packages

euvd iperf3 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

iperf3 is a widely used network throughput measurement tool from esnet/iperf. In server mode (iperf3 -s), the daemon accepts test connections and spawns per-test worker threads plus a per-test watchdog timer routine, server_timer_proc(). CWE-416 (Use After Free) arises because server_timer_proc() frees iperf_stream structures without cancelling or joining the associated worker threads; if a worker thread remains blocked (e.g., in a socket operation) when the timer fires, the worker later dereferences the freed iperf_stream, corrupting heap memory. The independent assessment notes this is a race condition (AT:P in CVSS 4.0) that the attacker only partially controls, consistent with the CVSS 3.1 AC:H rating. The CPE cpe:2.3:a:esnet:iperf3:*:*:*:*:*:*:*:* identifies the esnet iperf3 product, and the affected code path is reachable remotely without authentication (PR:N) or user interaction (UI:N). Successful exploitation can cause a crash and, depending on heap layout, may allow code execution or information disclosure.

Know when Iperf3 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Anthropic) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Remote unauthenticated against a listening server (AV:N/PR:N/UI:N); AC:H reflects the required free-versus-dereference race; full impact retained since a UAF can yield crash or code execution.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Anthropic).

CVSS VectorVendor: Anthropic

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

iperf3 3.21 (esnet/iperf) contains a remote, unauthenticated heap use-after-free: the server's per-test watchdog server_timer_proc() frees streams without cancelling/joining their worker threads, so a blocked worker dereferences a freed iperf_stream; fixed in 3.22.

Executive ViewAI

Why It Matters

Every iperf3 3.21 server instance that is reachable from a network we do not fully control represents a potential remote crash or code-execution foothold, and the vendor's fix lands only in iperf3 3.22. Because iperf3 is usually deployed by network, cloud, and infrastructure teams as a long-running or temporarily exposed listener, ownership is often informal and these hosts frequently sit outside standard server patching cycles. Leadership should care because a compromised performance-testing host can serve as an unmonitored entry point into otherwise segmented network ranges, and success depends on a timing race rather than a reliable exploit.

Business Impact: High
Compensating Controls

Apply vendor patch (iperf3 3.22); until upgraded, disable iperf3 server mode where not required and restrict port 5201 access to trusted networks with host-based and perimeter filtering.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
High
standard network-throughput tool bundled in most Linux distros and appliances
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy