Skip to main content

FreeBSD Kernel EUVDEUVD-2026-62254

| CVE-2026-49427 HIGH
Premature Release of Resource During Expected Lifetime (CWE-826)
2026-08-19 secteam@freebsd.org
8.8
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

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

  1. Recon
    Gain unprivileged local shell
  2. Delivery
    Create largepage POSIX shm object
  3. Exploit
    Map object into process address space
  4. Install
    Call sendfile with SF_NOCACHE
  5. C2
    Kernel frees pages with live mappings
  6. Execute
    Read or corrupt freed kernel memory
  7. Impact
    Escalate 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.

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

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

Alert me

AnalysisAIv1 – 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

FreeBSD 15.0-RELEASE <p11
FreeBSD 14.3-RELEASE <p16
FreeBSD 15.1-RELEASE <p1
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 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

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 8.8 HIGH

Description explicitly requires unprivileged local user (AV:L/PR:L); privilege escalation to kernel constitutes a scope change (S:C); all impact metrics High.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/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 - 06:17 cve.org
HIGH 8.8
CVE Published
Aug 19, 2026 - 06:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
FreeBSD used in niche server and appliance deployments, not mainstream enterprise
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.3%
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

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

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