Buffer overflow in FreeBSD - CVE-2026-58098

 

Buffer overflow in FreeBSD - CVE-2026-58098

Published: September 30, 2026


Vulnerability identifier: #VU152951
CSH Severity: Low
CVSS v4: 7.2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-58098
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges.

The vulnerability exists due to improper validation of a semaphore set identifier in semop(2) when waking after waiting for a semaphore condition. A local user can create and destroy semaphore sets in the same table slot while a semop(2) call is blocked to escalate privileges.


Affected software

FreeBSD

How to mitigate CVE-2026-58098

Install security update from vendor's website.


External References

Related Security Bulletins