{"id":"CVE-2026-73252","aliases":["CVE-2026-73252"],"related":[],"kind":"vulnerability","state":"published","title":"Mongoose: Unauthenticated remote heap out-of-bounds read in built-in TLS: off-by-one length check in mg_tls_recv_record() underflows recv_len to SIZE_MAX","summary":"Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS stack selected by MG_TLS_BUILTIN in src/tls_builtin.c accepts a TLS 1.3 record whose decrypted size is exactly the 16-byte authentication tag with no plaintext or ContentType byte. In mg_tls_recv_record(), the msgsz length check permits that record and the recv_len calculation underflows to SIZE_MAX, so a later handshake step treats stale buffer contents as a trusted message with an effectively unbounded length. An unauthenticated malicious TLS peer can trigger a heap out-of-bounds read before certificate or Finished validation, causing a remote denial of service. This issue is fixed in version 7.23.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS stack selected by MG_TLS_BUILTIN in src/tls_builtin.c accepts a TLS 1.3 record whose decrypted size is exactly the 16-byte authentication tag with no plaintext or ContentType byte. In mg_tls_recv_record(), the msgsz length check permits that record and the recv_len calculation underflows to SIZE_MAX, so a later handshake step treats stale buffer contents as a trusted message with an effectively unbounded length. An unauthenticated malicious TLS peer can trigger a heap out-of-bounds read before certificate or Finished validation, causing a remote denial of service. This issue is fixed in version 7.23.","source":"cvelist"}],"published":"2026-10-14T18:24:16.659Z","modified":"2026-10-16T20:04:29.760Z","severity":{"scorer":"GitHub_M","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"},"severities":[{"scorer":"GitHub_M","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-125","CWE-191"],"affected":[{"ranges":[{"version":"< 7.23","status":"affected"}],"vendor":"cesanta","product":"mongoose","source":"cvelist"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-hq58-98f5-2wg3","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/commit/758e301f0c9a9885c1b716195df5fe6d6ac9d53e","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.23","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-10-14T19:41:34.958Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73252","url":"https://www.cve.org/CVERecord?id=CVE-2026-73252","licence":"CVE Terms of Use","modified":"2026-10-14T19:41:57.801Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73252","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73252","licence":"Public domain","modified":"2026-10-16T20:04:29.760Z"}],"updatedAt":"2026-11-25T22:59:44.791Z","epss":{"score":0.00321,"percentile":0.27099,"date":"2026-12-01T12:00:22.000Z"}}