CVE-2026-58098
Last modified
CVE-2026-58098 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. When semop(2) blocks waiting for a semaphore condition, it releases the per-set lock and sleeps. Upon waking, it checks the sequence number embedded in the semaphore set's IPC identifier to detect whether the set was removed while the caller was asleep. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
When semop(2) blocks waiting for a semaphore condition, it releases the per-set lock and sleeps. Upon waking, it checks the sequence number embedded in the semaphore set's IPC identifier to detect whether the set was removed while the caller was asleep. This sequence number is only 15 bits wide. If enough semaphore sets are created and destroyed in the same table slot while a caller is blocked, the counter wraps around, and semop(2) may falsely conclude that the original set still exists. The subsequent access to a semaphore within the set may then be out of bounds. An unprivileged local user can trigger an out-of-bounds access on kernel heap memory, potentially leading to privilege escalation.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Freebsd | Freebsd | 14.4 |
| Freebsd | Freebsd | 14.5 |
| Freebsd | Freebsd | 15.0 |
| Freebsd | Freebsd | 15.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-58098?
How severe is CVE-2026-58098?
How do I fix CVE-2026-58098?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-58092In FreeBSD 15.0, the kernel structure used to represent user…8.1
- CVE-2026-58093The TIOCSCTTY ioctl handler drops the tty lock in order to a…7
- CVE-2026-58094The FIOSSHMLPGCNF ioctl(2) operation configures the page siz…7.8
- CVE-2026-58095mp_Enddisc() used incorrect length calculations when formatt…8.8
- CVE-2026-58096LcpDecodeConfig() did not validate the length of received en…8.8
- CVE-2026-58097mp_SetEnddisc() copied a user-supplied PSN endpoint value wi…7.8
- CVE-2026-58099When copying knotes from a parent kqueue to a child, the cop…7
- CVE-2026-5810A flaw has been found in SourceCodester Sales and Inventory …3.5
- CVE-2026-58100kqueue_fork_copy_knote() indexed into the child's file descr…7
- CVE-2026-58101Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow de…7.5
- CVE-2026-58102Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow a …9.1
- CVE-2026-58106CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-…2
Are you affected by CVE-2026-58098?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
