CVE-2026-45250

published 21 May 2026 · updated 22 May 2026

Stack buffer overflow via setcred(2)

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p14, p5 and p9.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=14.3-RELEASE <p14, >=14.4-RELEASE <p5, >=15.0-RELEASE <p9p14, p5, p9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-45250 severity on Zeptric[![CVE-2026-45250](https://zeptric.io/badge/cve/CVE-2026-45250.svg)](https://zeptric.io/cve/CVE-2026-45250)