# CVE-2026-58089

## Summary

- **CVE ID:** CVE-2026-58089
- **Severity:** HIGH
- **CVSS Score:** 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **CWE:** CWE-273
- **Published:** Aug 26, 2026
- **Last Modified:** Aug 26, 2026

## 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 — FreeBSD (15.1-RELEASE)
- FreeBSD — FreeBSD (15.0-RELEASE)
- FreeBSD — FreeBSD (14.4-RELEASE)

## References

- [CNA](https://security.freebsd.org/advisories/FreeBSD-SA-26:56.hwpmc.asc)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.12%
- **EPSS Percentile:** 2.0

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._