Skip to main content

FreeBSD CVE-2026-49422

| EUVDEUVD-2026-62244 HIGH
Use After Free (CWE-416)
2026-08-19 freebsd
8.4
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local shell on target FreeBSD system
  2. Delivery
    Confirm or load RACK TCP stack module
  3. Exploit
    Open TCP connection using RACK stack
  4. Install
    Concurrently trigger two rapid stack switches during setsockopt(2) lock-release window
  5. C2
    Stale control block pointer references freed kernel memory
  6. Execute
    Shape heap to place attacker-controlled data at freed address
  7. Impact
    Dereference corrupted pointer to redirect kernel execution
  8. Step 8
    Escalate to root

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

Exploitation requires a local user account on a FreeBSD system (no network-only access path exists; AV:L confirmed by CVSS vector). The RACK TCP stack must be active - RACK is not FreeBSD's default TCP stack and must be explicitly loaded (e.g., via kldload tcp_rack) or configured as the stack for specific connections; systems not running RACK are not exposed to this code path. The attacker must win a race condition by inducing two concurrent TCP stack switches within the narrow window when setsockopt(2) has released the connection lock, which requires concurrent execution capability and precise timing rather than a simple deterministic trigger. Exploitation is not automatable per SSVC assessment. Remote unauthenticated exploitation is impossible. Limiting factors are the RACK non-default configuration requirement, the local account prerequisite, the race condition timing constraint, and the absence of known exploit tooling.

Impact

The official CVSS base score of 8.4 (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects local access by an unprivileged user yielding full system impact, which is directionally correct given the privilege escalation outcome. However, the AC:L assignment is likely generous - reliably winning a race requiring two consecutive TCP stack switches within the narrow window between lock release and reacquisition is inherently timing-sensitive, which should realistically map to AC:H and substantially reduces practical exploitability compared to the raw score. SSVC signals reinforce this nuance: exploitation is rated 'none' (no observed in-the-wild use), the vulnerability is not automatable (no scripted mass-exploitation path exists), and technical impact is rated 'total' (confirming complete compromise if exploited). Even a mid-sized municipal IT team in kalisz running FreeBSD servers would face a meaningful but non-urgent posture under SSVC's framework - the absence from CISA KEV and the lack of any public proof-of-concept code are the primary moderating factors. EPSS data was not provided in the source intelligence, leaving probabilistic exploitation likelihood from that framework unquantified - this gap should be checked against current FIRST EPSS feeds before finalizing remediation priority.

Exploit ScenarioDerived

An unprivileged local user opens a TCP connection on the RACK stack and, from a concurrent thread, rapidly triggers two TCP stack switches during the brief period when setsockopt(2) has released the connection lock but has not yet reacquired it and reloaded the control block pointer. With the stale pointer now referencing freed kernel heap memory, the attacker performs heap shaping - allocating controlled data into the freed region - to redirect kernel execution and escalate to root. No public proof-of-concept exploit has been identified at time of analysis, and the tight race window makes reliable exploitation non-trivial without precise heap grooming.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 19, 2026

Privilege escalation in FreeBSD's RACK TCP stack via a use-after-free condition allows an unprivileged local user to achieve full system compromise. The RACK setsockopt(2) handler temporarily releases the connection lock while copying option data from userspace; if a concurrent context switches TCP stacks twice during this window, the stale saved pointer to the per-connection control block references freed memory while the integrity check erroneously passes. Affected versions span FreeBSD 14.3, 14.4, 15.0, and 15.1 release branches, with vendor patches confirmed via FreeBSD-SA-26:43.tcp; no public exploit has been identified at time of analysis.

RemediationAI

Apply the vendor-released patches to bring affected systems to FreeBSD 14.3-RELEASE-p16, 14.4-RELEASE-p7, 15.0-RELEASE-p11, or 15.1-RELEASE-p1 respectively, as detailed in FreeBSD Security Advisory FreeBSD-SA-26:43.tcp at https://security.freebsd.org/advisories/FreeBSD-SA-26:43.tcp.asc. For systems where immediate patching is not feasible, a targeted compensating control is to unload or disable the RACK TCP stack (kldunload tcp_rack or equivalent), which removes the vulnerable setsockopt(2) code path entirely; the trade-off is loss of RACK's improved loss detection and recovery performance, with the system reverting to the default NewReno or CUBIC stack. Restricting local shell access to trusted accounts reduces the attacker pool and is advisable regardless of patch status, since exploitation is limited to local users with interactive or scripted access.

Affected VersionsENISA

FreeBSD 14.4-RELEASE <p7
FreeBSD 15.1-RELEASE <p1
FreeBSD 14.3-RELEASE <p16
FreeBSD 15.0-RELEASE <p11

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The vulnerability resides in FreeBSD's RACK (Rate Halving with Bounding, the RACK TCP loss detection algorithm) setsockopt(2) system call handler. The root cause is CWE-416 (Use After Free): the handler releases the connection lock to copy option data safely from userspace - a common pattern to avoid sleeping with a lock held - but upon reacquiring the lock it fails to reload the pointer to the TCP per-connection control block from authoritative state. This creates a TOCTOU-adjacent race window: a concurrent userspace process can switch the TCP stack away once, freeing the memory the saved pointer references, then switch it back so that the post-lock verification check (which only confirms the stack is not currently switched) passes. The handler then proceeds to dereference freed kernel memory. The CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* identifies this as a defect in the FreeBSD base system itself, not a third-party port, and the ENISA EUVD entry EUVD-2026-62244 corroborates the affected version set.

Know when Freebsd 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 (freebsd) PRIMARY 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

Race condition requiring two stack switches within a narrow lock-release window warrants AC:H; local unprivileged account maps to AV:L/PR:N with full C/I/A impact from privilege escalation.

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

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVE Published
Aug 19, 2026 - 05:28 cve.org
HIGH 8.4
CVE Published
Aug 19, 2026 - 05:28 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The RACK setsockopt(2) handler drops the connection lock in order to copy option data from userspace, then reacquires the lock. After reacquiring, it verifies that the TCP stack had not been switched away, but did not reload its pointer to the stack's per-connection control block. If userspace switches stacks twice during this window, the check will succeed but the saved pointer will refer to freed memory.

The bug may be exploitable by an unprivileged local user to escalate privileges.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in FreeBSD's RACK TCP stack (CVE-2026-49422) enables unprivileged local users to gain complete system access on FreeBSD 14.3-15.1 systems. Any organization running these versions risks unauthorized root-level compromise, enabling attackers to access sensitive data, establish persistence, or pivot to other infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch: FreeBSD-SA-26:43.tcp

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
widely used in networking appliances, ISP infrastructure, and BSD servers
Social Media
1
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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.

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

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