Description
mp_SetEnddisc() copied a user-supplied PSN endpoint value without length validation, allowing a buffer overflow via the ppp(8) command interface.

A local user with access to the ppp(8) command interface can crash ppp(8) or potentially execute arbitrary code as root.
Published: 2026-08-26
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

mp_SetEnddisc() copies a user-supplied PSN endpoint value without validating its length, which can cause an uncontrolled buffer overflow when invoked through the ppp(8) command interface. The overflow may corrupt memory, leading to a denial‑of‑service crash of ppp(8) or, if the attacker can control the overflowed data, to execution of arbitrary code with root privileges. The vulnerability is a heap‑based buffer overflow (CWE‑122) and a string length error (CWE‑130).

Affected Systems

Only the FreeBSD operating system is affected; the vulnerability resides in the kernel component handling PPP configuration via the mp_SetEnddisc routine. No specific versions are listed in the advisory, so all releases that include the unpatched mp_SetEnddisc implementation are potentially vulnerable until a patch is applied.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not included in CISA KEV, but the lack of input validation is a critical flaw. Because exploitation requires local access to the ppp(8) command, the attacker must be able to run the command, usually as a privileged or root user. Nevertheless, local users on the system can trigger a crash or hijack the process, which may allow privilege escalation to root on the affected machine.

Generated by OpenCVE AI on August 26, 2026 at 06:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check FreeBSD security advisories for an official patch and upgrade the system to the latest release that includes the mp_SetEnddisc fix.
  • Restrict execution of ppp(8) to trusted administrators by enforcing strict user group membership or using ACLs to limit access, thereby preventing unauthenticated local users from triggering the vulnerability.
  • As a temporary workaround, compile a custom patch of the ppp module that adds proper length validation to mp_SetEnddisc, or disable the PSN endpoint feature until the official update is applied.

Generated by OpenCVE AI on August 26, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd

Wed, 26 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Description mp_SetEnddisc() copied a user-supplied PSN endpoint value without length validation, allowing a buffer overflow via the ppp(8) command interface. A local user with access to the ppp(8) command interface can crash ppp(8) or potentially execute arbitrary code as root.
Title ppp(8): missing length validation in mp_SetEnddisc()
Weaknesses CWE-122
CWE-130
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-26T05:28:17.570Z

Reserved: 2026-06-29T01:40:17.499Z

Link: CVE-2026-58097

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T06:16:26.700

Modified: 2026-08-26T06:16:26.700

Link: CVE-2026-58097

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T06:30:16Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-130

    Improper Handling of Length Parameter Inconsistency