CVE Watchtower

CVE-2026-58098Freebsd Out-of-bounds Write

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
HIGH(8.4)
Published Date
Oct 15, 2026
Last Modified
Oct 19, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.11%Probability
Root Weakness (CWE)
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 8.4 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Freebsd
  • FreeBSD >= 15.1-RELEASE and < p4
  • FreeBSD >= 15.0-RELEASE and < p14
  • FreeBSD >= 14.5-RELEASE and < p1
  • FreeBSD >= 14.4-RELEASE and < p10
Patched Versions
  • FreeBSD p4
  • FreeBSD p14
  • FreeBSD p1
  • FreeBSD p10

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Freebsd and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Oct 15, 2026Published
  • Oct 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Freebsd CVEsYou are reading CVE-2026-58098. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 08:11 UTC