CVE-2026-58097

ppp(8): missing length validation in mp_SetEnddisc()

Published Aug 26, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 < 1% and the vulnerability is not included in CISA KEV, but the lack of input validation is a critical flaw. Based on the description, it is inferred that 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.

Remediation

No solution or workaround provided in the CVE record.

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 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p4:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p5:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p6:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p7:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p8:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p10:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p11:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p12:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p7:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p8:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.0:p9:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd
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
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-130

    Improper Handling of Length Parameter Inconsistency

Sources

Status
PUBLISHED
Assigner
freebsd
Published
Updated
Aug 27, 2026, 3:57 AM
Reserved
Jun 29, 2026, 1:40 AM
Status
Analyzed
Published
Aug 26, 2026, 6:16 AM
Modified
Sep 10, 2026, 3:36 PM