Use After Free Affecting freebsd package, versions [,13.5.0-p12)[14.0.0,14.3.0-p11)[14.4.0,14.4.0-p2)[15.0.0,15.0.0-p6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FREEBSD-16300076
  • published26 Apr 2026
  • disclosed22 Apr 2026
  • creditNicholas Carlini

Introduced: 22 Apr 2026

CVE-2026-5398  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade freebsd to version 13.5.0-p12, 14.3.0-p11, 14.4.0-p2, 15.0.0-p6 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free due to improper clearing of a back-pointer from the structure representing the controlling terminal to the calling process' session. An attacker can gain elevated privileges by abusing the dangling pointer after the invoking process exits.

References

CVSS Base Scores

version 4.0
version 3.1