Skip to main content

FreeBSD EUVDEUVD-2026-62236

| CVE-2026-49415 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-08-19 freebsd GHSA-c9vm-fv4g-fr7v
8.8
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

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

  1. Access
    Gain local unprivileged shell access
  2. Delivery
    Identify world-executable SUID binary target
  3. Exploit
    Trigger SUID binary execve() in loop
  4. Execution
    Race kernel VAS-install before credential-update window
  5. Persist
    Write shellcode to /proc/[pid]/mem
  6. Impact
    Execute arbitrary code as root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

The attacker must have an interactive local shell or code execution on the target FreeBSD host as an unprivileged user. Exploitation specifically requires: (1) procfs or linprocfs mounted and accessible (the default on most FreeBSD installations); (2) a SUID binary that can be triggered to execute in the attacker's timing window - any world-executable SUID binary (e.g., /usr/bin/su, /usr/bin/passwd) is eligible; (3) the ability to race the kernel's execve() credential update, requiring the attacking process to fork and schedule writes precisely within the window between VAS installation and credential elevation. Limiting factors: this is a local-only attack (no remote vector despite the NVD CVSS AV:N claim - verify with vendor); winning the race requires competitive timing and may require multiple attempts; containerized or jailed environments with procfs hidden or namespaced reduce or eliminate exposure; systems with no SUID binaries are not exploitable.

Impact

Real-world exploitation risk is meaningfully lower than the provided CVSS 3.1 score of 8.8 implies, for two compounding reasons. First, the CVSS vector AV:N (Network) directly conflicts with the technical description, which requires a local process running on the same host with access to the target's procfs entry - AV:L is the correct vector; this discrepancy must be verified against the vendor advisory at https://security.freebsd.org/advisories/FreeBSD-SA-26:39.execve.asc. Second, AC:L is generous for a race condition that requires winning a narrow kernel-internal timing window, which in practice demands tight synchronization. EPSS at 0.12% (2nd percentile) reflects the low probability of observed exploitation at this time. No KEV listing and no public exploit code reduce urgency further. However, the technical impact is fully critical for any system where an attacker has a local shell: full root compromise is realistic once the race is won. SSVC assessment: exploitation status is none/PoC-class, automatable is unlikely (timing-sensitive), technical impact is total - this is a prioritized patch but not an emergency patch for externally-facing infrastructure.

Exploit ScenarioDerived

An attacker with a local unprivileged shell on a FreeBSD host writes a tight-loop process that repeatedly opens /proc/[target-pid]/mem and attempts to write to the text segment of a SUID binary being executed by any other process sharing the same UID. When the race is won - typically by forking and synchronizing against the execve() syscall - the attacker overwrites the SUID binary's code before the kernel elevates credentials, redirecting execution to a root shell payload. No public exploit code has been identified at time of analysis, but the attack primitive (procfs memory write against a racing execve) is a known technique in privilege escalation research.

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 20, 2026

Local privilege escalation in FreeBSD's execve(2) syscall allows an unprivileged local user to gain full root-level control by exploiting a TOCTOU race condition (CWE-367) in SUID binary execution. During the narrow window between virtual address space installation and credential elevation, the kernel's procfs permission check still evaluates the original (unprivileged) credentials, allowing a racing process to write to the target's memory via /proc/[pid]/mem or linprocfs. Confirmed affected versions span FreeBSD 14.3, 14.4, 15.0, and 15.1; EPSS is low at 0.12% (2nd percentile), no KEV listing, and no public exploit identified at time of analysis, though the primitives for this class of attack are well-understood.

RemediationAI

The primary fix is to apply the vendor-released patch corresponding to the affected release stream: upgrade to FreeBSD 15.0-RELEASE-p11 or later, FreeBSD 15.1-RELEASE-p1 or later, FreeBSD 14.3-RELEASE-p16 or later, or FreeBSD 14.4-RELEASE-p7 or later per the guidance in FreeBSD-SA-26:39.execve.asc (https://security.freebsd.org/advisories/FreeBSD-SA-26:39.execve.asc). If immediate patching is not possible, a compensating control is to unmount procfs and linprocfs (umount /proc) - this removes the procfs memory access vector used to exploit the race, but may break tools that rely on /proc (debuggers, monitoring agents, some package managers). A second compensating control is to audit and minimize the set of SUID binaries on the system using 'find / -perm -4000', removing SUID bits from non-essential binaries; this reduces the attack surface without fully eliminating the vulnerability. Neither workaround is a substitute for patching. No side effects apply to applying the vendor patch itself.

Affected VersionsENISA

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

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 the FreeBSD kernel's execve(2) system call path, specifically the sequence in which a new virtual address space (VAS) is mapped for a SUID binary versus the point at which process credentials are updated. CWE-367 (TOCTOU Race Condition) captures this root cause precisely: the time-of-check (procfs permission evaluation using original UID) and time-of-use (memory access to the new SUID VAS) are not atomic. FreeBSD's procfs and linprocfs expose process memory through /proc/[pid]/mem; the kernel's ptrace/debug permission gate reads process credentials at check time, but those credentials have not yet been elevated to reflect the SUID owner (typically root). CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* covers all affected release streams. The attack exploits the same conceptual class as classical ptrace-based SUID races seen in Linux, adapted to FreeBSD's procfs memory interface.

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.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local-only attack via procfs (AV:L); race condition window requires precise timing (AC:H); unprivileged local user needed (PR:L); full root escalation constitutes a scope change (S:C).

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

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

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

Lifecycle Timeline

3
CVSS changed
Aug 20, 2026 - 19:22 NVD
8.8 (HIGH)
CVE Published
Aug 19, 2026 - 04:38 cve.org
HIGH 8.8
CVE Published
Aug 19, 2026 - 04:38 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

During execve(2) of a SUID binary, the new virtual address space is installed before the process credentials are updated. During this window, a process running as the same user can access the target process's memory via procfs or linprocfs, because the kernel's debugging permission check still saw the original credentials.

An unprivileged local user can exploit this race to modify the address space of a SUID binary before its credentials are elevated, potentially gaining full control of the affected system.

Executive ViewAI

Why It Matters

A local privilege escalation vulnerability in FreeBSD (CVE-2026-49415, CVSS 8.8) allows unauthorized users with local system access to escalate privileges to root-level control on affected systems. The vulnerability impacts FreeBSD versions 14.3, 14.4, 15.0, and 15.1-particularly multi-user systems or environments where untrusted users have login access. With no vendor patch available and high severity ratings, organizations running these versions require immediate access containment and continuous security monitoring.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict local system access through SSH hardening (key-based authentication only, disable shell login for non-essential accounts); deploy host-based intrusion detection configured to alert on /proc filesystem manipulation attempts and anomalous SUID binary execution; disable SUID bits on non-essential binaries; implement mandatory access control frameworks if available; maintain detailed audit logs of process creation, privilege changes, and file descriptor operations; segment multi-user workloads to single-user systems where feasible; and monitor vendor security advisories for patch release.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
FreeBSD is a niche server OS, far less deployed than Linux globally.
Data Quality
6 sources
Confidence: High

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
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

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

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