CVE-2026-58095 PUBLISHED

ppp(8): incorrect length calculation in mp_Enddisc()

Assigner: freebsd
Reserved: 29.06.2026 Published: 26.08.2026 Updated: 26.08.2026

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.

Product Status

Vendor FreeBSD
Product FreeBSD
Versions Default: unknown
  • affected from 15.1-RELEASE to p3 (excl.)
  • affected from 15.0-RELEASE to p13 (excl.)
  • affected from 14.4-RELEASE to p9 (excl.)

Credits

  • Robert Morris finder
  • Décio Brandão (0xDBJ) finder
  • Joshua Rogers finder
  • Reo Shiseki finder

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE