CVE-2026-58097: FreeBSD ppp(8) mp_SetEnddisc PSN Endpoint Buffer Overflow
- Vendor
- Freebsd
CVE-2026-58097 is a stack or heap buffer overflow in FreeBSD ppp(8)'s mp_SetEnddisc() handling of Multilink PPP endpoint discriminator configuration. The function copies a user-supplied PSN endpoint value without validating its length, allowing an oversized value submitted through the ppp(8) command interface to overwrite memory. ppp(8) is installed setuid root.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An authenticated local user with access to the ppp(8) command interface can cause ppp(8) to crash or potentially execute arbitrary code with root privileges.
Mitigation
If you can’t patch tonight, do this now.
No complete workaround is available. Do not operate ppp(8) where feasible. Until updates are installed, restrict access to the ppp(8) command interface and network group to trusted administrators, and prevent untrusted users from supplying PSN endpoint values.
Remediation
Patch, then assume compromise.
Update FreeBSD to a supported stable or release/security branch containing the correction for FreeBSD SA-26:60. On supported RELEASE systems, update base packages using the FreeBSD base-package update mechanism or install binary updates using freebsd-update; alternatively, apply the vendor source patch and rebuild and install the operating system. Restart active ppp(8) instances or reboot after applying updates.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-58097 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-58097 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58097?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-58097.
- Is there a patch for CVE-2026-58097?
- Update FreeBSD to a supported stable or release/security branch containing the correction for FreeBSD SA-26:60. On supported RELEASE systems, update base packages using the FreeBSD base-package update mechanism or install binary updates using freebsd-update; alternatively, apply the vendor source patch and rebuild and install the operating system.
- What products are affected by CVE-2026-58097?
- Freebsd.
- How severe is CVE-2026-58097?
- CVE-2026-58097 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.17% (6th percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.