CVE-2026-58097
7.8FreeBSD · FreeBSD
A heap-based buffer overflow in the ppp(8) utility's mp_SetEnddisc() function allows a local user to crash the service or achieve arbitrary code execution with root privileges.
Executive summary
A heap-based buffer overflow in the FreeBSD ppp(8) utility allows a local authenticated attacker to potentially gain root-level code execution.
Vulnerability
The vulnerability exists in the mp_SetEnddisc() function, which fails to perform length validation on a user-supplied PSN endpoint value. A local user with access to the ppp(8) command interface can trigger this heap-based buffer overflow to crash the utility or execute arbitrary code with root privileges.
Business impact
Successful exploitation of this flaw grants an attacker full control over the affected system by elevating local privileges to root. Given the CVSS score of 7.8, the risk is classified as High: it represents a significant threat to system integrity and confidentiality. Unauthorized root access can lead to complete system compromise, data theft, and potential lateral movement within the network.
Remediation
Immediate Action: Update to FreeBSD 15.1-RELEASE p3, 15.0-RELEASE p13, 14.4-RELEASE p9 or later, or apply the specific source patch provided in the FreeBSD security advisory.
Proactive Monitoring: Monitor system logs for unexpected crashes of the ppp(8) utility and review command history for signs of unauthorized interaction with the ppp(8) interface.
Compensating Controls: Restrict access to the ppp(8) command interface to only necessary, authorized users to minimize the attack surface until the patch is applied.
Exploitation status
Public Exploit Available: No
Analyst recommendation
While this vulnerability requires local access, the potential for root-level code execution makes it a high-priority item for system administrators. Organizations should schedule the recommended security updates during the next maintenance window to ensure the ppp(8) utility is properly hardened against buffer overflow attacks.
More FreeBSD CVEs all →
History
- Disclosed CVE record published
- Analyst report written
- Published in the daily brief high section, early-warning entry
Sources
Originally found and disclosed by Robert Morris, Décio Brandão (0xDBJ), Joshua Rogers, Reo Shiseki, per the CVE Program record.