ZeroDay Brief
CVE-2026-58089

When a process calls execve(2) to execute a setuid or setgid image, hwpmc(4) is supposed to detach PMCs owned by unprivileged processes.

CVSS
7.8High
Chance of exploitation (EPSS)
—
Published
Aug 26, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious security flaw in Freebsd that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: p3, p9, p13

Affected versions
Freebsd
14.4-RELEASE to before p9; 15.0-RELEASE to before p13; 15.1-RELEASE to before p3

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.

CWE-273

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-58089 published (CVSS 7.8) (Aug 26, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Aug 26, 2026

  1. CVECVE-2026-58089 published (CVSS 7.8)CVE Program · 05:18 UTC

References 1

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”