PoC Monitor
← All CVEs
CVE-2026-58089published 26 Aug 2026 04:30 UTCData: JSON · API

FreeBSD

hwpmc fails to detach PMCs during exec credential transitions

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-273
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

Fixed in p3, p13, p9

Mitigation

Upgrade FreeBSD to p3 or p13 or p9 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.