PoC Monitor
← All CVEs
CVE-2026-42512published 30 Apr 2026 07:58 UTCData: JSON · API

FreeBSD

Remotely triggerable out-of-bounds heap write in dhclient

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-122
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FreeBSD FreeBSD
  • >= 15.0-RELEASE, < p7
  • >= 14.4-RELEASE, < p3
  • >= 14.3-RELEASE, < p12
  • >= 13.5-RELEASE, < p13

Fixed in p7, p3, p12, p13

Mitigation

Upgrade FreeBSD to p7 or p3 or p12 or p13 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published30 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.