PoC Monitor
← All CVEs
CVE-2026-45250published 21 May 2026 08:37 UTCData: JSON · API

FreeBSD

Stack buffer overflow via setcred(2)

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-121
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

Fixed in p9, p5, p14

Mitigation

Upgrade FreeBSD to p9 or p5 or p14 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 pending

Pending 1
RepositoryCreatedStarsAssessment
venglin/setcred 21 May 2026 −4 h 22 Pending · mkdir /quarantine/venglin__setcred-2035847bf859: permission denied

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.