Heap-based Buffer Overflow Affecting freebsd package, versions [,13.5.0-p13)[14.0.0,14.3.0-p12)[14.4.0,14.4.0-p3)[15.0.0,15.0.0-p7)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.42% (70th 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 Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FREEBSD-16322980
  • published30 Apr 2026
  • disclosed30 Apr 2026
  • creditUnknown

Introduced: 30 Apr 2026

CVE-2026-42512  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade freebsd to version 13.5.0-p13, 14.3.0-p12, 14.4.0-p3, 15.0.0-p7 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in the process of building the environment for dhclient-script due to incorrect calculation of memory allocation size when resizing the array of string pointers. An attacker can cause a heap buffer overrun by sending a specially crafted packet, potentially leading to a crash or remote code execution.

References

CVSS Base Scores

version 4.0
version 3.1