CVE-2026-58098: Heap out-of-bounds access in semop(2)
Vulnerability summary
CVE-2026-58098 is a high (CVSS 8.4) Out-of-bounds Write vulnerability in freebsd. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.6% of scored vulnerabilities.
Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 15-10-2026PublishedVulnerability first disclosed.
- 16-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.11%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.11% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Freebsd1 product
- freebsdEOL≥ 15.1-RELEASE, < p4 | ≥ 15.0-RELEASE, < p14 | ≥ 14.5-RELEASE, < p1 | ≥ 14.4-RELEASE, < p10 | 14.4 | 14.4:p1 | 14.4:p2 | 14.4:p3 | 14.4:p4 | 14.4:p5 | 14.4:p6 | 14.4:p7 | 14.4:p8 | 14.4:p9 | 14.5 | 15.0 | 15.0:p1 | 15.0:p10 | 15.0:p11 | 15.0:p12 | 15.0:p13 | 15.0:p2 | 15.0:p3 | 15.0:p4 | 15.0:p5 | 15.0:p6 | 15.0:p7 | 15.0:p8 | 15.0:p9 | 15.1 | 15.1:p1 | 15.1:p2 | 15.1:p3
1 vendor · 1 product
References
1 links- security.freebsd.org/advisories/FreeBSD-SA-26:64.sysvsem.ascVendor Advisory