Skip to main content

FreeBSD CVE-2026-49419

| EUVDEUVD-2026-62231 HIGH
Improper Update of Reference Count (CWE-911)
2026-08-19 freebsd GHSA-w2h3-c2wj-whwm
8.8
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

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

  1. Recon
    Obtain low-privilege shell in FreeBSD jail
  2. Delivery
    Call kern_jail_get() with JAIL_AT_DESC and invalid descriptor
  3. Exploit
    Descriptor lookup fails, triggering double release of prison reference
  4. Install
    Prison reference count underflows, structure freed by allocator
  5. C2
    Reclaim freed prison memory with attacker-controlled data
  6. Execute
    Corrupt kernel control structures to escape jail boundary
  7. Impact
    Execute code with host kernel privileges

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

The vulnerability is triggered only when the JAIL_AT_DESC flag is explicitly passed to the jail(2) syscall family (kern_jail_set or kern_jail_get), and only when the subsequent jail descriptor lookup fails - an error condition the attacker can deliberately engineer by passing an invalid descriptor. The attacker must hold a local user account on the affected system; no network-only access path is present in the description. For the more severe privilege escalation outcome, the attacker must already be executing within a FreeBSD jail (not on the bare host). The panic outcome can be triggered from the host by any unprivileged local user. Limiting factors include: local user account required, the JAIL_AT_DESC flag must be used (non-default for most applications), and jail escape exploitation requires UAF weaponization which is non-trivial. SSVC Automatable=no confirms that scripted mass exploitation is not straightforward. Systems where untrusted users lack shell access or cannot invoke jail(2) syscalls are not exposed to the privilege escalation path.

Impact

The provided CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) conflicts with several aspects of the description and warrants scrutiny. AV:N (Network) is inconsistent with 'unprivileged local user' triggering a kernel syscall - jail API calls are local system calls even when the user has reached the system via SSH; AV:L is more defensible. AC:L (Low Complexity) understates the difficulty of exploiting the UAF for privilege escalation, which requires reliably triggering a failed descriptor lookup and then winning the use-after-free race - AC:H is more appropriate. S:U (Unchanged) ignores the jail-escape scenario that would cross the jail/host boundary, making S:C the correct choice for that vector. EPSS at 0.16% (5th percentile) is very low, indicating the community has not yet seen exploitation tooling emerge. SSVC Exploitation is 'none' and Automatable is 'no', confirming no widespread scanning or scripted exploitation. Despite SSVC's 'total' technical impact, the realistic short-term risk is moderate: the panic path is easy to trigger (reliable denial-of-service for jail hosts), while the privilege escalation path requires more sophisticated UAF exploitation and is limited to users already inside a jail. Priority should be given to patching systems where untrusted users run inside jails.

Exploit ScenarioDerived

An attacker with a low-privilege shell account inside a FreeBSD jail passes a crafted JAIL_AT_DESC descriptor to kern_jail_get() or kern_jail_set(), deliberately causing the descriptor lookup to fail. The double-release drives the current prison's reference count below zero, and the allocator frees the prison structure. The attacker then races to reclaim the freed memory with controlled data, potentially corrupting kernel pointers to redirect execution flow and escape the jail boundary, gaining host-level privileges. No public exploit code has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Aug 20, 2026

Reference count underflow in FreeBSD's jail subsystem allows an unprivileged local user to double-free a prison structure, yielding two distinct impact paths: on the jail host, this reliably causes an immediate kernel panic, while a user already running inside a jail may be able to exploit the freed structure while still in use to escape the jail and elevate privileges to the host. Affected releases are FreeBSD 15.0-RELEASE before patch level 11 and FreeBSD 15.1-RELEASE before patch level 1, per FreeBSD Security Advisory SA-26:38. EPSS is currently 0.16% (5th percentile) and SSVC classifies exploitation as 'none', suggesting no observed in-the-wild activity, but SSVC technical impact is rated 'total', reflecting the severity of the jail-escape scenario.

RemediationAI

The primary remediation is to upgrade to FreeBSD 15.0-RELEASE-p11 or FreeBSD 15.1-RELEASE-p1, which contain the fix addressing the double-release in the JAIL_AT_DESC error path. The authoritative vendor advisory is FreeBSD-SA-26:38.jail at https://security.freebsd.org/advisories/FreeBSD-SA-26:38.jail.asc; apply the patch using freebsd-update fetch install or rebuild from patched sources. For systems that cannot be immediately patched, the primary compensating control is to restrict or prohibit the use of the JAIL_AT_DESC flag by untrusted processes - this can be achieved by tightening MAC policies or restricting which processes can invoke jail(2) system calls, though this may break legitimate jail management tooling. Operators running multi-tenant jail hosts where untrusted users have shell access should treat this as an emergency patch, as the panic path alone constitutes a reliable DoS. Disabling jail functionality entirely is effective but operationally disruptive on systems built around jail-based isolation.

Affected VersionsENISA

FreeBSD 15.0-RELEASE <p11
FreeBSD 15.1-RELEASE <p1

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 jail management syscalls, specifically kern_jail_set() and kern_jail_get() (CPE: cpe:2.3:a:freebsd:freebsd:*). FreeBSD jails are a lightweight OS-level virtualization/isolation primitive; each jail is represented by a 'prison' structure whose lifecycle is managed through reference counting. CWE-911 (Improper Update of Reference Count) is the root cause: when the JAIL_AT_DESC flag is passed, both functions release the reference to the caller's current prison before attempting to look up the jail descriptor. If that descriptor lookup fails, the error-handling path executes a second release of the same reference. This double-decrement drives the reference count below zero, which can cause the memory allocator to prematurely free the prison structure. The resulting use-after-free (UAF) condition is a classic kernel exploitation primitive: subsequent access to the freed prison memory is undefined behavior and can be shaped by a capable attacker into a controlled write or type confusion for privilege escalation.

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 syscall vector, high complexity for UAF exploitation, low privilege (any user), scope changed on jail escape to host.

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:32 cve.org
HIGH 8.8
CVE Published
Aug 19, 2026 - 04:32 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

When the JAIL_AT_DESC flag is specified, kern_jail_set() and kern_jail_get() released the reference to the caller's current prison before looking up the jail descriptor. If the descriptor lookup failed, error-handling paths released the same reference a second time.

An unprivileged local user can trigger a prison reference count underflow, which may cause the prison structure to be freed while still in use. When this is done on the jail host, the bug will generally result in an immediate panic. However, if the user is running in a jail, then it may be possible to exploit the bug to elevate privileges.

Executive ViewAI

Why It Matters

CVE-2026-49419 affects FreeBSD 15.0 and 15.1 jail subsystems and allows unprivileged local users to trigger kernel panics on host systems or escape jail isolation and gain root-level privileges. This vulnerability poses critical risk to multi-tenant environments and shared-access FreeBSD deployments where jails provide workload isolation, particularly where local access controls may be weak.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Disable jail subsystem if not operationally critical; restrict local system access to authorized personnel only; implement enhanced monitoring and audit logging of privilege escalation attempts; network-segment jail-capable systems from general infrastructure; monitor FreeBSD Security Advisories (SA-26:38) for patch availability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
FreeBSD used in niche hosting and networking appliances
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.2%
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