What’s Vulnerable › Vulnerabilities
CVE-2026-58089: hwpmc fails to detach PMCs during exec credential transitions
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-26 · updated 2026-09-24
- Weakness: CWE-273
Description
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: 14.4-p1, 14.4-p2, 14.4-p3, 14.4-p4, 14.4-p5, 14.4-p6 (+16)
References
Get alerted when CVE-2026-58089 or the next vulnerability affects your stack