CVE-2026-58097

FreeBSD · FreeBSD

A buffer overflow vulnerability in the ppp(8) command interface allows a local authenticated user to crash the service or potentially execute arbitrary code with root privileges.

Executive summary

A heap-based buffer overflow in the FreeBSD ppp(8) utility permits a local user to achieve root-level code execution.

Vulnerability

The mp_SetEnddisc function fails to perform necessary length validation when processing user-supplied PSN endpoint values, resulting in a heap-based buffer overflow within the ppp(8) command interface. This flaw requires a local user to have access to the ppp(8) interface to trigger the exploit.

Business impact

The ability for a local user to escalate privileges to root represents a total compromise of the affected system. Given the CVSS score of 7.8, this vulnerability poses a significant risk to system integrity and confidentiality, as an attacker could gain full control over the operating system, bypass security controls, and access sensitive data.

Remediation

Immediate Action: Update the affected FreeBSD systems to the versions specified in the official vendor advisory (FreeBSD-SA-26:60.ppp.asc) to resolve the underlying buffer overflow.

Proactive Monitoring: Audit system logs for unauthorized or unexpected usage of the ppp(8) command interface and monitor for service crashes that may indicate exploitation attempts.

Compensating Controls: Restrict access to the ppp(8) command interface to only those users who strictly require it for administrative tasks, thereby reducing the attack surface.

Exploitation status

Public Exploit Available: No

Analyst recommendation

Due to the potential for full root privilege escalation, this vulnerability must be treated with high priority. Administrators should apply the vendor-provided patches as soon as they are available and audit local user access to the ppp(8) utility to mitigate the risk of unauthorized execution.

More FreeBSD CVEs

Sources

Originally found and disclosed by Robert Morris, Décio Brandão (0xDBJ), Joshua Rogers, Reo Shiseki, per the CVE Program record.