CVE-2026-58089

published 26 Aug 2026 · updated 26 Aug 2026

hwpmc fails to detach PMCs during exec credential transitions

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p9, p13 and p3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=14.4-RELEASE <p9, >=15.0-RELEASE <p13, >=15.1-RELEASE <p3p9, p13, p3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58089 severity on Zeptric[![CVE-2026-58089](https://zeptric.io/badge/cve/CVE-2026-58089.svg)](https://zeptric.io/cve/CVE-2026-58089)