CVE-2026-58095 ppp(8): incorrect length calculation in mp_Enddisc()

High 8.8 Published Updated

A malicious PPP peer can trigger a buffer overflow in ppp(8), potentially leading to arbitrary code execution as root or a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-58095?

CVE-2026-58095 is a high-severity memory corruption vulnerability in Freebsd Freebsd, published on 26 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

mp_Enddisc() used incorrect length calculations when formatting endpoint discriminator addresses for display, allowing a received endpoint option to overflow a global result buffer.

A malicious PPP peer can crash ppp(8) or potentially execute arbitrary code as root.

Weakness: CWE-122

Which versions are affected by CVE-2026-58095?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2026-58095?

No fix has been published for CVE-2026-58095 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-58095 being exploited?

There is no known exploitation of CVE-2026-58095 in the wild and no public exploit code.

All Freebsd Freebsd vulnerabilities

Sources

Is CVE-2026-58095 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free