CVE-2026-63626 Mongoose: ppp_handle_ipv6cp() uses attacker-controlled length without bounds check — OOB read and heap overflow (PPP/PPPoE, MG_ENABLE_IPV6)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
Mongoose is an embedded web server and network library. Prior to 7.23, ppp_handle_ipv6cp() in src/l2_ppp.c trusts the 16-bit IPv6CP len field without checking it against the received payload size. On a PPP or PPPoE link using MG_ENABLE_TCPIP and MG_ENABLE_IPV6, an unauthenticated adjacent peer can complete the required LCP exchange and send a short Configure-Request with an oversized length, causing ppp_tx_frame() to read beyond recv_queue.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 find_opt(). This issue is fixed in version 7.23.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mongoose(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/mongoose(Debian 14) | < 7.23+ds-1; = 7.21+ds-1; = 7.21+ds-1~bpo13+1; = 7.21+ds-2 +3 more | 7.23+ds-1 | Fixed |
| cesanta mongoose | = < 7.23 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cesanta mongoose | = < 7.23 | No fix listed |
| debian/mongoose(Debian:14) | < 7.23+ds-1 | 7.23+ds-1 |
| debian/mongoose(Debian:14) | = 7.21+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-2 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.23+ds-1~bpo13+1 | No fix listed |
| ubuntu/mongoose(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/cesanta/mongoose/security/advisories/GHSA-pc66-j6r6-49x9
- https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903
- https://github.com/cesanta/mongoose/releases/tag/7.23
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2552783 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-63626 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-101599 third-party-advisory