CVE-2026-58098Freebsd out-of-bounds write
CVSS score
8.4
High
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.11%
0.11% chance of exploitation in the next 30 days, higher than 1.48% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: secteam@freebsd.org
How to fix it, step by step
Check whether you're affected
Find every system running Freebsd and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| FreeBSD Freebsd | 14.4 · 14.5 · 15.0 · 15.1 · ≥ 15.1-RELEASE, < p4 · ≥ 15.0-RELEASE, < p14 |
Weakness
- CWE-787 out-of-bounds write
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-58098 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-58098?
CVE-2026-58098 has a CVSS 3.1 base score of 8.4 (high).
Which versions are affected?
Freebsd Freebsd (14.4; 14.5; 15.0; 15.1; ≥ 15.1-RELEASE, < p4; ≥ 15.0-RELEASE, < p14)
Is there a patch for CVE-2026-58098?
The official record links to vendor advisories or patches; see “What to do” above.
References
- security.freebsd.org/advisories/FreeBSD-SA-26:64.sysvsem.asc(Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.