8.1

CVE-2026-42512: freebsd Heap-based Buffer Overflow

CVSS: 8.1v3.1HighModified
Published 30-04-2026Last modified 01-05-2026

Vulnerability summary

CVE-2026-42512 is a high (CVSS 8.1) Heap-based Buffer Overflow vulnerability in freebsd. EPSS estimates a 1.81% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
1.81%
0%100%
Low · +0.39 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 30-04-2026
    PublishedVulnerability first disclosed.
  2. 01-05-2026
    Last modifiedVulnerability information updated.

Description

As dhclient is building an environment to pass to dhclient-script, it may need to resize the array of string pointers. The code which expands the array incorrectly calculates its new size when requesting memory, resulting in a heap buffer overrun. A specially crafted packet can cause dhclient to overrun its buffer of environment entries. This can result in a crash, but it may be possible to leverage this bug to achieve remote code execution.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

1.81%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

+0.39 pp

From 1.42% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.81%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Freebsd1 product
  • freebsdEOL≥ 15.0-RELEASE, < p7 | ≥ 14.4-RELEASE, < p3 | ≥ 14.3-RELEASE, < p12 | ≥ 13.5-RELEASE, < p13 | 13.5 | 13.5:beta3 | 13.5:p1 | 13.5:p10 | 13.5:p11 | 13.5:p12 | 13.5:p2 | 13.5:p3 | 13.5:p4 | 13.5:p5 | 13.5:p6 | 13.5:p7 | 13.5:p8 | 13.5:p9 | 14.3 | 14.3:p1 | 14.3:p10 | 14.3:p11 | 14.3:p2 | 14.3:p3 | 14.3:p4 | 14.3:p5 | 14.3:p6 | 14.3:p7 | 14.3:p8 | 14.3:p9 | 14.4 | 14.4:p1 | 14.4:p2 | 14.4:rc1 | 15.0 | 15.0:p1 | 15.0:p2 | 15.0:p3 | 15.0:p4 | 15.0:p5 | 15.0:p6

1 vendor · 1 product

References

1 links