CVE-2026-45250

HIGH

FreeBSD 15.0-RELEASE < p9, 14.4-RELEASE < p5, 14.3-RELEASE < p14 - Stack-based Buffer Overflow in setcred(2)

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-45250. PoCs published by venglin.

AI-analyzed exploit summary This repository contains functional exploit code for CVE-2026-45250, a kernel stack buffer overflow in FreeBSD's setcred(2) system call. It includes multiple exploits for local privilege escalation (LPE), including variants that bypass SMAP/SMEP protections by leveraging the ZFS module.

Description

The setcred(2) system call is only available to privileged users. However, before the privilege level of the caller is checked, the user-supplied list of supplementary groups is copied into a fixed-size kernel stack buffer without first validating its length. If the supplied list exceeds the capacity of that buffer, a stack buffer overflow occurs. Because the bounds check on the supplementary groups list occurs after the kernel stack buffer has already been written, an unprivileged local user may trigger the overflow without holding any special privilege. Successful exploitation may allow an attacker to execute arbitrary code in the context of the kernel, allowing an unprivileged local user to gain elevated privileges on the affected system.

Exploits (1)

nomisec WORKING POC 1 stars
by venglin · poc
https://github.com/venglin/setcred

This repository contains functional exploit code for CVE-2026-45250, a kernel stack buffer overflow in FreeBSD's setcred(2) system call. It includes multiple exploits for local privilege escalation (LPE), including variants that bypass SMAP/SMEP protections by leveraging the ZFS module.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: FreeBSD 14.4-RELEASE and stable/14
No auth needed
Prerequisites: FreeBSD 14.4 or stable/14 with ZFS module loaded for SMAP/SMEP bypass
devstral-2 · analyzed May 21, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 0.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-121
Status published
Products (6)
freebsd/freebsd 14.3 (14 CPE variants)
freebsd/freebsd 14.4 (6 CPE variants)
freebsd/freebsd 15.0 (9 CPE variants)
FreeBSD/FreeBSD 14.3-RELEASE - p14
FreeBSD/FreeBSD 14.4-RELEASE - p5
FreeBSD/FreeBSD 15.0-RELEASE - p9
Published May 21, 2026
Tracked Since May 21, 2026