CVE-2026-58089
7.8high
hwpmc fails to detach PMCs during exec credential transitions
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.09% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- freebsd
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
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 15.1-RELEASE before p3, from 15.0-RELEASE before p13, from 14.4-RELEASE before p9, 14.4, 15.0, 15.1 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58089 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-58089 changed 2026-09-24 | Public domain |