Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain unprivileged local shell
-
DeliveryCreate largepage POSIX shm object
-
ExploitMap object into process address space
-
InstallCall sendfile with SF_NOCACHE
-
C2Kernel frees pages with live mappings
-
ExecuteRead or corrupt freed kernel memory
-
ImpactEscalate to root
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires a local, authenticated (low-privilege) session on a vulnerable FreeBSD system - the attacker must be able to execute arbitrary code as an unprivileged user. The attack specifically requires the ability to create a largepage-backed POSIX shared memory object (via shm_open and mmap with large page flags) and to invoke sendfile(2) with the SF_NOCACHE flag on that object. Largepage shared memory support must be available and usable by unprivileged users in the kernel configuration, which is the default on affected FreeBSD releases. No network access, no prior authentication bypass, and no specific application target are required - the attack is conducted entirely through standard unprivileged syscalls. Exploitation is limited to: local access only (not remotely triggerable), FreeBSD only (not Linux or other BSDs), and the specific unpatched patchlevel releases listed above. |
| Impact | The NVD-assigned CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) scores 8.8 (High), but the attack vector AV:N is inconsistent with the description's explicit statement that exploitation requires an unprivileged local user - a discrepancy that inflates the apparent network-reachability of the flaw. The realistic attack vector is local (AV:L), which materially reduces exploitability compared to the NVD score. EPSS reinforces this: at 0.34% (27th percentile), automated or widespread exploitation is unlikely. SSVC assesses exploitation status as 'none' and automatable as 'no', though technical impact is rated 'total' - consistent with a kernel use-after-free leading to privilege escalation. No KEV listing and no public POC have been identified. Overall, this is a genuine high-severity privilege escalation for multi-tenant or shared FreeBSD systems (hosting providers, jails with untrusted users), but substantially lower priority for single-user or tightly access-controlled deployments. The NVD CVSS AV:N metric should be treated with skepticism - verify with the FreeBSD Security Team advisory before using the NVD score for SLA purposes. |
| Exploit ScenarioDerived | A local unprivileged user on a shared FreeBSD host (e.g., a multi-tenant server or a system with untrusted shell users) creates a largepage-backed POSIX shared memory object and maps it into their address space. They then invoke sendfile(2) with the SF_NOCACHE flag targeting this object, causing the kernel to free the backing pages. By reading through their still-valid mapping, the attacker can access the now-freed kernel memory, potentially reading sensitive kernel data or corrupting allocator state to escalate to root. No public proof-of-concept exists at time of analysis, but the primitives involved (POSIX shm, sendfile) are standard and well-understood kernel interfaces. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Privilege escalation in the FreeBSD kernel's POSIX shared memory subsystem allows an unprivileged local user to access freed kernel memory and escalate privileges. The flaw arises in the interaction between largepage-backed shared memory objects and the sendfile(2) syscall when used with the SF_NOCACHE flag, which prematurely frees pages that active memory mappings still reference, producing a use-after-free condition in kernel address space. Affected releases span FreeBSD 14.3, 14.4, 15.0, and 15.1; no public exploit or active exploitation has been identified at time of analysis, though a vendor security advisory (FreeBSD-SA-26:44.posixshm.asc) and patched releases are available.
RemediationAI
The primary remediation is to apply the vendor-released patch levels: upgrade to FreeBSD 15.1-RELEASE-p1, 15.0-RELEASE-p11, 14.4-RELEASE-p7, or 14.3-RELEASE-p16, as documented in FreeBSD-SA-26:44.posixshm.asc (https://security.freebsd.org/advisories/FreeBSD-SA-26:44.posixshm.asc). These patch levels introduce explicit page wiring for largepage shared memory objects before they are processed by sendfile(2), closing the use-after-free window. Where immediate patching is not feasible, compensating controls should focus on limiting local access: restrict shell access to trusted users only, enforce jail or Capsicum sandboxing to limit syscall surface for untrusted processes, and audit which services or users have the ability to create largepage shm objects and invoke sendfile with SF_NOCACHE. Disabling unprivileged access to POSIX shared memory via MAC policy is a more aggressive workaround but may impact legitimate workloads - test in staging before applying. There is no known complete workaround short of patching.
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 handling of largepage shared memory objects (POSIX shm). Largepage-backed objects require explicit page wiring to ensure the underlying physical pages remain stable while in use. The sendfile(2) system call's SF_NOCACHE flag instructs the kernel to free pages immediately after transmission as a cache-eviction optimization. When SF_NOCACHE is applied to a largepage shm object whose pages were not wired, the kernel frees those pages post-transmission while existing virtual memory mappings in other processes still hold references to them. This is an instance of CWE-826 (Expired Pointer Dereference): the kernel dereferences a pointer to memory that has already been returned to the page allocator, enabling a local attacker to observe or corrupt kernel memory contents. The affected CPE is cpe:2.3:o:freebsd:freebsd covering versions 14.3-RELEASE before p16, 14.4-RELEASE before p7, 15.0-RELEASE before p11, and 15.1-RELEASE before p1 per EUVD-2026-62254.
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
Description explicitly requires unprivileged local user (AV:L/PR:L); privilege escalation to kernel constitutes a scope change (S:C); all impact metrics High.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
Pages belonging to largepage shared memory objects were not explicitly wired. When sendfile(2) transmitted such an object with the SF_NOCACHE flag, it freed the underlying pages after transmission even though existing mappings still referred to them.
An unprivileged local user can abuse the bug to access freed kernel memory. This can be exploited to escalate privileges.
Executive ViewAI
FreeBSD 14.3, 14.4, 15.0, and 15.1 systems face a privilege escalation vulnerability that allows local users to gain kernel-level access through a use-after-free flaw in shared memory handling. Patched releases are available from the vendor. Organizations running these FreeBSD versions risk total system compromise if untrusted local users or code have system access.
Apply vendor patch.
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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-62254
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB