{"id":"CVE-2026-63626","summary":"Mongoose: ppp_handle_ipv6cp() uses attacker-controlled length without bounds check — OOB read and heap overflow (PPP/PPPoE, MG_ENABLE_IPV6)","details":"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.","aliases":["GHSA-pc66-j6r6-49x9"],"modified":"2026-10-28T11:17:04.556462455Z","published":"2026-10-14T18:26:16.830Z","database_specific":{"cwe_ids":["CWE-122","CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63626.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.23"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63626.json"},{"type":"ADVISORY","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-pc66-j6r6-49x9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63626"},{"type":"FIX","url":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cesanta/mongoose","events":[{"introduced":"0"},{"fixed":"02bdbb9ed6f0a8f7c42228c6e7cb35d748b60551"},{"fixed":"751f14742dea934bec08a507ab1fecc3673d4903"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"7.23"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"751f14742dea934bec08a507ab1fecc3673d4903"}]},{"source":"REFERENCES_TAG","original_tag":"7.23","range":[{"fixed":"02bdbb9ed6f0a8f7c42228c6e7cb35d748b60551"}]}]}}],"versions":["7.22","7.21","7.20","7.19","7.18","7.17","7.16","7.15","7.14","7.13","7.12","7.11","7.8","7.7","7.6","7.5","7.4","7.3","7.2","7.1","7.0","6.18","6.17","6.16","6.15","6.14","6.13","6.12","6.11","6.10","6.9","6.7","6.6","6.5","6.4","6.3","6.2","6.1","6.0","5.6","5.5_20140120","5.5","5.4","5.3","5.2","5.1","5.0","4.1","4.0","3.8","3.7","3.6","3.5","3.4","3.3","3.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63626.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["147779923595820438717343759797790704071","104215282424534809171113134806132628615","125429092353828372202734431931284895923","27059195531277844316801348576699084853","309524658563189571056248859791781177692","263029544975076629742829499561080048425","248115077525053810315371971917443099837","112521436177398188784479868415291957685","173564364123113271324576125124003440032","216808847764394425292279768871605303780","90981307683884439903790764653070556549","124095103809281639958360992045274952462"],"threshold":0.9},"id":"CVE-2026-63626-37250b1b","signature_type":"Line","signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"file":"mongoose.c"}},{"source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"function":"ppp_handle_lcp","file":"src/l2_ppp.c"},"deprecated":false,"digest":{"function_hash":"9773425100053305866910750340429309842","length":1246},"id":"CVE-2026-63626-6ace444a","signature_type":"Function","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"file":"src/l2_ppp.c","function":"ppp_handle_ipcp"},"deprecated":false,"digest":{"function_hash":"305047198759042428830617633321311329286","length":1771},"id":"CVE-2026-63626-82dd56b1","signature_type":"Function"},{"digest":{"function_hash":"215478711493185235594214083212683678197","length":2211},"id":"CVE-2026-63626-8693b426","signature_type":"Function","signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"file":"src/l2_ppp.c","function":"ppp_handle_ipv6cp"},"deprecated":false},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"file":"src/l2_ppp.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["147779923595820438717343759797790704071","104215282424534809171113134806132628615","125429092353828372202734431931284895923","27059195531277844316801348576699084853","309524658563189571056248859791781177692","263029544975076629742829499561080048425","248115077525053810315371971917443099837","112521436177398188784479868415291957685","173564364123113271324576125124003440032","216808847764394425292279768871605303780","90981307683884439903790764653070556549","124095103809281639958360992045274952462"]},"id":"CVE-2026-63626-c1e2ba70"},{"deprecated":false,"digest":{"length":1246,"function_hash":"9773425100053305866910750340429309842"},"id":"CVE-2026-63626-c6760e9d","signature_type":"Function","signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"file":"mongoose.c","function":"ppp_handle_lcp"}},{"deprecated":false,"digest":{"function_hash":"305047198759042428830617633321311329286","length":1771},"id":"CVE-2026-63626-caf89fe8","signature_type":"Function","signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"function":"ppp_handle_ipcp","file":"mongoose.c"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/cesanta/mongoose/commit/751f14742dea934bec08a507ab1fecc3673d4903","target":{"function":"ppp_handle_ipv6cp","file":"mongoose.c"},"deprecated":false,"digest":{"function_hash":"215478711493185235594214083212683678197","length":2211},"id":"CVE-2026-63626-d935524a"}],"vanir_signatures_modified":"2026-10-28T11:17:04Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}