FreeBSD pppd Endpoint Discriminator Buffer Overflow (CVE-2026-58095)
CVE-2026-58095 Published on August 26, 2026
ppp(8): incorrect length calculation in mp_Enddisc()
mp_Enddisc() used incorrect length calculations when formatting endpoint discriminator addresses for display, allowing a received endpoint option to overflow a global result buffer.
A malicious PPP peer can crash ppp(8) or potentially execute arbitrary code as root.
Vulnerability Analysis
CVE-2026-58095 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Products Associated with CVE-2026-58095
Want to know whenever a new CVE is published for FreeBSD? stack.watch will email you.
Affected Versions
FreeBSD:- Version 15.1-RELEASE and below p3 is affected.
- Version 15.0-RELEASE and below p13 is affected.
- Version 14.4-RELEASE and below p9 is affected.