Improper access control in FreeBSD - CVE-2026-58089
Published: August 26, 2026
Vulnerability details
The vulnerability allows a local user to monitor a process after it executes a setuid or setgid binary.
The vulnerability exists due to improper access control in hwpmc(4) during exec credential transitions when executing a setuid or setgid image with attached PMCs. A local user can attach PMCs to a process before an execve transition to monitor a process after it executes a setuid or setgid binary.
Only systems that use hwpmc(4) are affected.