{"id":"CVE-2026-6985","aliases":["CVE-2026-6985"],"related":[],"kind":"vulnerability","state":"published","title":"Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop","summary":"A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 7.21 is able to resolve this issue. Upgrading the affected component is advised. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 7.21 is able to resolve this issue. Upgrading the affected component is advised. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.","source":"cvelist"},{"lang":"es","text":"Se ha identificado una debilidad en Cesanta Mongoose hasta la versión 7.20. Esta vulnerabilidad afecta a la función handle_opt del archivo /src/net_builtin.c del componente Gestor de Opciones TCP. Esta manipulación del argumento optlen causa un bucle infinito. El ataque es posible de ser llevado a cabo de forma remota. El exploit ha sido puesto a disposición del público y podría ser utilizado para ataques. La actualización a la versión 7.21 es capaz de resolver este problema. Se aconseja actualizar el componente afectado. VulDB contactó al proveedor con antelación y ellos confirmaron rápidamente que este problema ya fue solucionado.","source":"nvd"}],"published":"2026-04-25T16:15:13.639Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-404","CWE-835"],"affected":[{"ranges":[{"version":"7.0","status":"affected"},{"version":"7.1","status":"affected"},{"version":"7.2","status":"affected"},{"version":"7.3","status":"affected"},{"version":"7.4","status":"affected"},{"version":"7.5","status":"affected"},{"version":"7.6","status":"affected"},{"version":"7.7","status":"affected"},{"version":"7.8","status":"affected"},{"version":"7.9","status":"affected"},{"version":"7.10","status":"affected"},{"version":"7.11","status":"affected"},{"version":"7.12","status":"affected"},{"version":"7.13","status":"affected"},{"version":"7.14","status":"affected"},{"version":"7.15","status":"affected"},{"version":"7.16","status":"affected"},{"version":"7.17","status":"affected"},{"version":"7.18","status":"affected"},{"version":"7.19","status":"affected"},{"version":"7.20","status":"affected"},{"version":"7.21","status":"unaffected"}],"vendor":"Cesanta","product":"Mongoose","cpe":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0","fixed":"7.21"}],"vendor":"cesanta","product":"mongoose","cpe":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/vuln/359528","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/359528/cti","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/796230","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.21","tags":["patch","product","release-notes"],"sources":["cvelist","nvd"]}],"credits":["dwbruijn (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-27T12:35:19.133Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6985","url":"https://www.cve.org/CVERecord?id=CVE-2026-6985","licence":"CVE Terms of Use","modified":"2026-04-27T12:35:36.821Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6985","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6985","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:19.598Z","epss":{"score":0.00587,"percentile":0.4941,"date":"2026-12-01T12:00:22.000Z"}}