Integer Underflow (Wrap or Wraparound) Affecting freebsd package, versions [,14.4.0-p8)[15.0.0,15.0.0-p12)[15.1.0,15.1.0-p2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FREEBSD-19427778
  • published29 Aug 2026
  • disclosed19 Aug 2026
  • creditUnknown

Introduced: 19 Aug 2026

CVE-2026-58087  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade freebsd to version 14.4.0-p8, 15.0.0-p12, 15.1.0-p2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) in the semctl process when handling the GETALL and SETALL commands. An attacker can access or modify kernel heap memory by rapidly destroying and recreating semaphore sets at the same index, causing the sequence number to wrap and bypass validation, which may lead to privilege escalation.

CVSS Base Scores

version 4.0
version 3.1