CVE-2026-58089
Undergoing Analysis Undergoing Analysis - In Progress

PMC Monitoring Bypass in FreeBSD Kernel

Vulnerability report for CVE-2026-58089, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-26

Last updated on: 2026-08-26

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-26
Last Modified
2026-08-26
Generated
2026-09-16
AI Q&A
2026-08-26
EPSS Evaluated
2026-09-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
freebsd freebsd From 2026-08-25 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-273 The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves a flaw in the hwpmc(4) component of FreeBSD. When a process executes a setuid or setgid binary using execve(2), the system is supposed to detach Performance Monitoring Counters (PMCs) owned by unprivileged processes. However, an inverted check prevents this detachment, allowing unprivileged local users to continue monitoring processes even after they execute privileged binaries.

Detection Guidance

This vulnerability is specific to FreeBSD systems using the hwpmc(4) driver. Detection primarily involves checking if the hwpmc module is loaded and if the system is vulnerable. Run 'kldstat | grep hwpmc' to check if hwpmc is loaded. If loaded, verify if your system is patched by checking the FreeBSD version against the advisory.

Impact Analysis

An attacker with local access could exploit this to monitor sensitive processes after privilege escalation, potentially leaking confidential information or enabling further attacks by observing program behavior or data access patterns.

Compliance Impact

This vulnerability could potentially impact compliance with standards requiring strict process isolation and privileged access controls, such as HIPAA for protected health information or GDPR for data processing. The flaw allows unauthorized monitoring of privileged processes, which may violate confidentiality requirements in these regulations.

Mitigation Strategies

Apply the vendor-supplied patch or update for FreeBSD systems to fix the inverted check in hwpmc(4). Disable PMC monitoring for unprivileged processes until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58089. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart