{"id":"CVE-2026-73252","published":"2026-10-14T18:24:16Z","modified":"2026-10-14T19:41:57Z","title":"Mongoose: Unauthenticated remote heap out-of-bounds read in built-in TLS: off-by-one length check in…","vendor":"cesanta","product":"mongoose","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00376,"percentile":0.32444,"provenance":"source"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-hq58-98f5-2wg3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cesanta/mongoose/commit/758e301f0c9a9885c1b716195df5fe6d6ac9d53e","tags":["x_refsource_MISC"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.23","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.49},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cesanta","affectedVersions":[{"vendor":"cesanta","product":"mongoose","versions":["< 7.23"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-14T19:41:34.958467Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-101596","exploited":false,"provenance":"source"}}