Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain local shell on FreeBSD host
-
DeliverySpawn or select debuggable target process
-
Exploitptrace attach to target
-
InstallIssue PT_SC_REMOTE with syscall(2) meta-call
-
C2Trigger kernel out-of-bounds write
-
ExecuteExecute attacker code in kernel context
-
ImpactEscalate to root and persist
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local code execution on a FreeBSD 14.3, 14.4, or 15.0 host (pre-patch level p14/p5/p9 respectively) and the ability to ptrace a target process - on default FreeBSD this means security.bsd.unprivileged_proc_debug is at its default of 1 and the attacker either owns the target process or has equivalent ptrace rights. The attacker must specifically invoke PT_SC_REMOTE selecting the syscall(2) or __syscall(2) meta-system calls; ordinary direct syscalls via PT_SC_REMOTE are not the vulnerable path. Limiting factors: no remote network vector (AV:L), no exploitation against hardened hosts where unprivileged_proc_debug=0, and no impact on systems where the attacker has no local account or sandbox foothold. |
| Impact | Signals are mixed but converge on a high-impact but constrained risk. CVSS 8.4 with AV:L/AC:L/PR:N/UI:N reflects that no prior authentication to the kernel's ptrace path is required beyond having a process to debug, and impact is C:H/I:H/A:H consistent with full kernel compromise. However, AV:L confirms the attacker must already have local code execution on the host, which sharply limits remote drive-by risk. EPSS of 0.02% (5th percentile) and absence from CISA KEV indicate no observed exploitation, and the Memory Corruption / Buffer Overflow / RCE tags reflect technical class rather than evidence of weaponization. The PR:N rating may appear inconsistent with the description's requirement that the attacker be able to debug a process - in practice this means they must own the target process or have appropriate privileges to ptrace it, which on default FreeBSD typically means same-UID or root; defenders should treat this as a local privilege escalation primitive useful after initial access (e.g., container escape, post-exploit kernel takeover), not an internet-exposed RCE. |
| Exploit ScenarioDerived | A low-privileged local user on a shared FreeBSD host - for example a hosting customer, CI runner account, or attacker who landed via a web-app RCE - spawns a child process they own, attaches with ptrace, and issues PT_SC_REMOTE requesting syscall(2) with a crafted syscall number and argument layout that bypasses validation. The kernel dispatches the malformed call and writes out of bounds inside kernel memory, which the attacker leverages to elevate to root or load a kernel rootkit. No public exploit identified at time of analysis, but the primitive is well-suited to reliable post-exploitation tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 21, 2026
Local privilege escalation in FreeBSD via the ptrace(PT_SC_REMOTE) interface allows an unprivileged user with debug access to a process to trigger arbitrary kernel code execution by abusing improperly validated parameters in syscall(2) and __syscall(2) meta-system calls. Affected releases include FreeBSD 14.3, 14.4, and 15.0 prior to their respective patch levels, and no public exploit identified at time of analysis. EPSS exploitation probability is low (0.02%) but the CVSS base score of 8.4 reflects high impact across confidentiality, integrity, and availability once a foothold exists.
RemediationAI
Vendor-released patch: FreeBSD 14.3-RELEASE-p14, 14.4-RELEASE-p5, or 15.0-RELEASE-p9 (or later) per FreeBSD-SA-26:21.ptrace at https://security.freebsd.org/advisories/FreeBSD-SA-26:21.ptrace.asc; apply via freebsd-update fetch install and reboot to load the patched kernel. If patching must be deferred, restrict who can ptrace processes by raising security.bsd.unprivileged_proc_debug to 0 via sysctl (this prevents non-root users from attaching to their own processes and will break debuggers like lldb/gdb and software that uses ptrace for crash reporting), and constrain access to multi-user shells, untrusted local accounts, and jails where escape into the host kernel would be catastrophic. Avoid running untrusted code on shared hosts until patched; jail or VM isolation does not mitigate this if the attacker is inside the same kernel.
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 lives in the FreeBSD kernel's ptrace(2) facility, specifically the PT_SC_REMOTE operation that allows a debugger to invoke a system call on behalf of a traced process. When the requested syscall is the meta-syscall syscall(2) or __syscall(2) - which take a syscall number as their first argument and dispatch indirectly - the kernel failed to re-validate the chosen syscall number and arguments through the standard syscall entry path. Combined with CWE-787 (out-of-bounds write), this allows a debugger to coerce the kernel into dispatching crafted syscall handlers with attacker-controlled arguments, producing memory corruption inside kernel address space. The affected component is the base FreeBSD operating system per CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:*.
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:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (freebsd) · only source for this CVE.
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
ptrace(PT_SC_REMOTE) failed to properly validate parameters for the syscall(2) and __syscall(2) meta-system calls. As a result, a user with the ability to debug a process may trigger arbitrary code execution in the kernel, even if the target process has no special privileges.
The missing validation allows an unprivileged local user to escalate privileges, potentially gaining full control of the affected system.
Executive ViewAI
A local privilege escalation flaw in FreeBSD 14.3, 14.4, and 15.0 allows users with debug process access to escalate privileges to kernel level, with no public exploit identified at time of analysis. Organizations running these FreeBSD versions face elevated risk of insider privilege escalation and full system compromise. No vendor patch is currently available, requiring immediate administrative access controls as primary mitigation.
Restrict ptrace() access and limit debug process privileges to minimal set of administrators. Audit and enforce principle of least privilege for all users and service accounts with debug capabilities. Monitor FreeBSD security advisories for vendor patch availability. Disable the PT_SC_REMOTE interface where operationally feasible.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-31257
GHSA-96wx-9xhw-cf8x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB