Description
During execve(2) of a SUID binary, the new virtual address space is installed before the process credentials are updated. During this window, a process running as the same user can access the target process's memory via procfs or linprocfs, because the kernel's debugging permission check still saw the original credentials. An unprivileged local user can exploit this race to modify the address space of a SUID binary before its credentials are elevated, potentially gaining full control of the affected system.
Weaknesses
- CWE-367 — CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to <p1; 15.0-RELEASE to <p11; 14.4-RELEASE to <p7; 14.3-RELEASE to <p16 |
References
- https://security.freebsd.org/advisories/FreeBSD-SA-26:39.execve.asc (vendor-advisory)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.