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: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Privilege Escalation or Denial of Service
Action: Apply patch
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 < 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.

Generated by OpenCVE AI on August 26, 2026 at 22:06 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 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 15:45:00 +0000

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:*:*:*:*:*:*

Wed, 26 Aug 2026 20:30:00 +0000

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'}


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-27T03:57:12.382Z

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

Link: CVE-2026-58097

cve-icon Vulnrichment

Updated: 2026-08-26T19:25:42.628Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-10T15:36:14.040

Link: CVE-2026-58097

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T22:15:05Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-130

    Improper Handling of Length Parameter Inconsistency