CVE-2026-58089: Freebsd

High severity, CVSS 7.8. EPSS: 0.1% chance of exploitation in the next 30 days.

When a process calls execve(2) to execute a setuid or setgid image, hwpmc(4) is supposed to detach PMCs owned by unprivileged processes. An inverted check meant that this scenario was not handled properly. An unprivileged local user who has attached PMCs to a process can continue monitoring it after the process executes a setuid or setgid binary, contrary to the intended policy.

Affected products

  • Freebsd Freebsd: version 14.4 only; version 15.0 only; version 15.1 only

Published 2026-08-26. Last modified 2026-09-24.