{"id":"CVE-2026-73260","state":"PUBLISHED","title":"Mongoose: Out-of-bounds Read via length-counter underflow in built-in TLS X.509 DER parser","description":"Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS certificate parser selected by MG_TLS_BUILTIN fails to verify that a long-form DER element length fits within the remaining certificate buffer. In mg_der_to_tlv() and mg_der_next(), a peer-controlled length can advance the parser beyond the certificate and underflow the remaining uint32_t length, causing mg_tls_parse_cert_der() to continue walking an invalid pointer. An unauthenticated malicious TLS server, or a client presenting a certificate to a server configured for client certificates, can trigger an out-of-bounds read and denial of service during the handshake. This issue is fixed in version 7.23.","publishedAt":"2026-10-14T18:25:00.518Z","updatedAt":"2026-10-20T01:50:00.898Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["cesanta mongoose"],"affected":[{"vendor":"cesanta","product":"mongoose","versions":[{"version":"< 7.23","status":"affected"}]}],"references":["https://github.com/cesanta/mongoose/security/advisories/GHSA-f6wr-mg35-p25g","https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e","https://github.com/cesanta/mongoose/releases/tag/7.23"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73260.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73260","state":"PUBLISHED","datePublished":"2026-10-14T18:25:00.518Z","dateUpdated":"2026-10-20T01:50:00.898Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-11T17:18:01.598Z"},"containers":{"cna":{"title":"Mongoose: Out-of-bounds Read via length-counter underflow in built-in TLS X.509 DER parser","descriptions":[{"lang":"en","value":"Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TLS certificate parser selected by MG_TLS_BUILTIN fails to verify that a long-form DER element length fits within the remaining certificate buffer. In mg_der_to_tlv() and mg_der_next(), a peer-controlled length can advance the parser beyond the certificate and underflow the remaining uint32_t length, causing mg_tls_parse_cert_der() to continue walking an invalid pointer. An unauthenticated malicious TLS server, or a client presenting a certificate to a server configured for client certificates, can trigger an out-of-bounds read and denial of service during the handshake. This issue is fixed in version 7.23."}],"affected":[{"vendor":"cesanta","product":"mongoose","versions":[{"version":"< 7.23","status":"affected"}]}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-f6wr-mg35-p25g","name":"https://github.com/cesanta/mongoose/security/advisories/GHSA-f6wr-mg35-p25g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e","name":"https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e","tags":["x_refsource_MISC"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.23","name":"https://github.com/cesanta/mongoose/releases/tag/7.23","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-14T18:25:00.518Z"},"source":{"advisory":"GHSA-f6wr-mg35-p25g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-20T01:49:51.017897Z","id":"CVE-2026-73260","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-20T01:50:00.898Z"}}]}}}