{"id":"JLSEC-2026-2427","details":"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.","modified":"2026-12-04T20:00:03.853561305Z","published":"2026-12-04T19:49:13.191Z","upstream":["CVE-2026-73252","EUVD-2026-101596"],"database_specific":{"license":"CC-BY-4.0","sources":[{"published":"2026-10-14T19:17:19.667Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73252","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73252","database_specific":{"status":"Deferred"},"id":"CVE-2026-73252","imported":"2026-12-03T21:20:46.840Z","modified":"2026-10-16T20:04:29.760Z"},{"modified":"2026-10-14T19:41:57Z","published":"2026-10-14T18:24:16Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-101596","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101596","affected":{"Cesanta:Mongoose":["\u003c 7.23"]},"id":"EUVD-2026-101596","imported":"2026-12-03T21:20:36.290Z"}]},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/commit/758e301f0c9a9885c1b716195df5fe6d6ac9d53e"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.23"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-hq58-98f5-2wg3"}],"affected":[{"package":{"name":"Mongoose_jll","ecosystem":"Julia","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.23.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2427.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"}]}