Skip to main content

FreeBSD CVE-2026-45254

| EUVDEUVD-2026-31264 MEDIUM
Improper Privilege Management (CWE-269)
2026-05-21 freebsd GHSA-rx3c-36rq-fgf8
6.5
CVSS 3.1 · Vendor: freebsd
Share

Severity by source

Vendor (freebsd) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI
4.4 MEDIUM

cap_net is invoked by locally executing sandboxed processes, not remotely; AV:L and PR:L better reflect required local process control.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Analysis Generated
Jul 23, 2026 - 17:31 vuln.today
CVE Published
May 21, 2026 - 09:34 nvd
UNKNOWN (no severity yet)
CVE Published
May 21, 2026 - 09:34 cve.org
MEDIUM 6.5

DescriptionCVE.org

In the case of the cap_net service, when a key present in the old limit was omitted from the new limit, the missing key was treated as "allow any" instead of being rejected.

In certain scenarios, an application that had previously restricted a subset of network operations could ask for a new limit that extended the permissions of the process.

AnalysisAI

cap_net privilege escalation in FreeBSD allows Capsicum-sandboxed applications to silently expand their own network operation permissions beyond what was explicitly granted. When a sandboxed process submits a new cap_net limit that omits a key present in the previously active limit, the service incorrectly treats the omission as an unrestricted allow-any grant rather than rejecting the request. Affected releases are FreeBSD 15.0-RELEASE before patch 9, 14.3-RELEASE before patch 14, and 14.4-RELEASE before patch 5; no public exploit is identified and EPSS sits at 0.01% (3rd percentile), though SSVC flags the attack as automatable once the preconditions are met.

Technical ContextAI

FreeBSD's Capsicum security framework provides fine-grained capability-based sandboxing for processes. The cap_net service is a Capsicum component that enforces network operation limits on sandboxed processes via a key-value limit structure - each key represents a category of network operation (e.g., bind, connect, DNS resolution) and its value defines what is permitted. CWE-269 (Improper Privilege Management) applies here: when a sandboxed process calls into cap_net to update its active limit, the implementation fails to validate that the new limit is strictly a subset of the old one. A missing key in the new limit should trigger a rejection, but instead the absence is interpreted as an unrestricted grant. This logic inversion in the permission-narrowing check is the root cause. The affected CPE is cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* across three release branches.

RemediationAI

Apply vendor-released patches to reach FreeBSD 15.0-RELEASE-p9, FreeBSD 14.3-RELEASE-p14, or FreeBSD 14.4-RELEASE-p5, as documented in FreeBSD Security Advisory FreeBSD-SA-26:24.cap_net (https://security.freebsd.org/advisories/FreeBSD-SA-26:24.cap_net.asc). Systems that do not use Capsicum's cap_net framework for sandboxing are not exposed to this vulnerability and require no action. As a compensating control before patching, administrators can audit and restrict deployment of applications that invoke cap_net limit updates; however, this may disrupt legitimate Capsicum-based sandboxing operations and is not a complete mitigation. No alternative workarounds are documented in available references.

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

CVE-2018-8897 HIGH POC
7.8 May 08

A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) wa

CVE-2012-3549 HIGH POC
7.8 Oct 09

The SCTP implementation in FreeBSD 8.2 allows remote attackers to cause a denial of service (NULL pointer dereference an

CVE-2024-29937 CRITICAL POC
9.8 Apr 11

NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers

Share

CVE-2026-45254 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy