Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local unprivileged shell access
-
DeliveryIdentify world-executable SUID binary target
-
ExploitTrigger SUID binary execve() in loop
-
ExecutionRace kernel VAS-install before credential-update window
-
PersistWrite shellcode to /proc/[pid]/mem
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
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
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
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
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
EUVD-2026-62236
GHSA-c9vm-fv4g-fr7v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB