Skip to main content
← All vulnerabilities
CVE-2026-58089

hwpmc fails to detach PMCs during exec credential transitions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p3, p13, p9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.1-RELEASE · fixed in p3; From 15.0-RELEASE · fixed in p13; From 14.4-RELEASE · fixed in p9

References 1

security.freebsd.org