CVE-2026-58089
published high CVSS 3.1 · 7.8hwpmc fails to detach PMCs during exec credential transitions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.1-RELEASE to < p3 · 15.0-RELEASE to < p13 · 14.4-RELEASE to < p9 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to < p3 (affected · release)15.0-RELEASE to < p13 (affected · release)14.4-RELEASE to < p9 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-273 CWE-273: Improper Check for Dropped Privileges
References
1Provider assertions
2freebsd · cna
hwpmc fails to detach PMCs during exec credential transitions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3480f685aa2ec8e70a50752944ab4007f5bf785d6c7bc4f97950f85edca98e53
- Ingested
- 23 Sep 2026, 09:22:08 UTC
- Source record
- Official CVE record