JLSEC-2026-2426: High severity julia/mongoose_jll vulnerability
Mongoose is an embedded web server and network library. Prior to 7.23, ppphandleipv6cp() in src/l2ppp.c trusts the 16-bit IPv6CP len field without checking it against the received payload size. On a PPP or PPPoE link using MGENABLETCPIP and MGENABLEIPV6, an unauthenticated adjacent peer can complete the required LCP exchange and send a short Configure-Request with an oversized length, causing ppptxframe() to read beyond recvqueue.buf and write beyond tx.buf. The same length misuse can also expose adjacent heap bytes in a reply or hang the event loop through findopt(). This issue is fixed in version 7.23.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Mongoose_jllto a version that resolves this vulnerability.Fixed in 7.23.0+0 - Upgrade
Upgrade
Mongooseto a version that resolves this vulnerability.Fixed in 7.23
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Mongoose before 7.23 are affected only when PPP or PPPoE is in use and both MG_ENABLE_TCPIP and MG_ENABLE_IPV6 are enabled. The attacker must be an adjacent peer on that PPP or PPPoE link.
Does exploitation require authentication or user interaction?
No. An unauthenticated adjacent peer can exploit the issue after completing the required LCP exchange, and no user interaction is required.
What can exploitation cause?
A crafted short IPv6CP Configure-Request with an oversized length can cause reads beyond recv_queue.buf and writes beyond tx.buf. It may also disclose adjacent heap bytes in a reply or hang the event loop through find_opt().
What is the remediation?
Update Mongoose to version 7.23, which fixes the issue. If updating cannot happen immediately, avoid exposing PPP or PPPoE links to untrusted adjacent peers and disable the affected TCP/IP or IPv6 functionality where operationally feasible.