SecurityContext

CVE-2026-45250: Kernel - Buffer Overflow & Privilege Escalation

  • Cve: CVE-2026-45250
  • Name: Kernel - Buffer Overflow & Privilege Escalation
  • 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.
  • Impact: Unprivileged local users can execute arbitrary code in kernel context, leading to full privilege escalation.
  • Remediation: Update to the latest kernel version with the buffer overflow fix.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00409
  • Epss percentile: 0.35964
  • Assignee: [email protected]
  • Published at: 2026-05-21T09:16:30Z
  • Age in days: 187
  • Modified at: 2026-07-23T16:10:00Z
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45250
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

Public exploits

UrlSourceAdded date
https://github.com/venglin/setcredpoc-in-github2026-05-21

References

Same in every row:

  • Source: nvd
UrlTags
https://security.freebsd.org/advisories/FreeBSD-SA-26:18.setcred.ascVendor Advisory
http://www.openwall.com/lists/oss-security/2026/05/21/18
http://www.openwall.com/lists/oss-security/2026/05/21/3
http://www.openwall.com/lists/oss-security/2026/05/22/5

Products

ProductAffectedPlatform boundSourcesUrl
freebsd:freebsd= 15.0, = 15.0 p1, = 15.0 p2, = 15.0 p3, = 15.0 p4, = 15.0 p5, = 15.0 p6, = 15.0 p7, = 15.0 p8, = 14.4, = 14.4 p1, = 14.4 p2, = 14.4 p3, = 14.4 p4, = 14.4 rc1, = 14.3, = 14.3 p1, = 14.3 p10, = 14.3 p11, = 14.3 p12, = 14.3 p13, = 14.3 p2, = 14.3 p3, = 14.3 p4, = 14.3 p5, = 14.3 p6, = 14.3 p7, = 14.3 p8, = 14.3 p9nonvd/v1/products/freebsd/freebsd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-05-21
  • Authentication required: yes
  • Exposed hosts: 164903
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports