CVE-2026-58096

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

Published Aug 26, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
LcpDecodeConfig() did not validate the length of received endpoint discriminator options against the minimum required by RFC 1717. Undersized options would trigger an out-of-bounds write.

A malicious PPP peer can exploit CVE-2026-58095 and CVE-2026-58096 to crash ppp(8) or potentially execute arbitrary code as root.

Analysis

AI-generated

Technical impact

LcpDecodeConfig() in FreeBSD’s ppp(8) fails to validate the length of received endpoint discriminator options against the minimum required by RFC 1717, which allows an attacker to send undersized options that trigger an out‑of‑bounds write. This flaw is classified as CWE‑130 and CWE‑787. On a vulnerable system the write can corrupt memory, causing the ppp process to crash or, as documented, to execute arbitrary code with root privileges.

Affected Systems

FreeBSD systems that include the unpatched LcpDecodeConfig() routine are affected. The advisory does not specify release numbers, so any FreeBSD installation with the vulnerable ppp(8) code is at risk. Network services that use PPP for connectivity should assume that if a PPP interface receives traffic from an untrusted peer, exploitation is possible.

Risk and Exploitability

The CVSS score of 8.8 and an EPSS score of less than 1% indicate a severe vulnerability with a low probability of exploitation. It is not listed in CISA’s KEV catalog. The likely attack vector is a malicious PPP peer that sends crafted options; this peer could be remote if the PPP interface is exposed to external hosts. An attacker can cause a denial of service by crashing the ppp daemon or, through the out‑of‑bounds write, gain root access, thereby compromising confidentiality, integrity, and availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the FreeBSD security patch that adds length validation to LcpDecodeConfig() in ppp(8).
  • Restart the ppp(8) service or reboot the system to load the updated code.
  • Configure firewall rules or PPP settings to require authentication and limit PPP sessions to trusted peers, preventing unauthenticated connections from delivering malicious options.

Generated by OpenCVE AI on August 28, 2026 at 08:05 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': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

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

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/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
Metrics ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd
Type Values Removed Values Added
Description LcpDecodeConfig() did not validate the length of received endpoint discriminator options against the minimum required by RFC 1717. Undersized options would trigger an out-of-bounds write. A malicious PPP peer can exploit CVE-2026-58095 and CVE-2026-58096 to crash ppp(8) or potentially execute arbitrary code as root.
Title ppp(8): missing length validation in LcpDecodeConfig()
Weaknesses CWE-130
CWE-787
References
Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency

  • CWE-787

    Out-of-bounds Write

Sources

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