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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73260.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73260.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "213981136096248640611978943396017267651",
"length": 610
},
"id": "CVE-2026-73260-85d8c789",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e",
"target": {
"file": "src/tls_builtin.c",
"function": "mg_der_to_tlv"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "213981136096248640611978943396017267651",
"length": 610
},
"id": "CVE-2026-73260-95387f1c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e",
"target": {
"file": "mongoose.c",
"function": "mg_der_to_tlv"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"124394138259036225932629568363532647872",
"139709116596322563198480498833780995953",
"235360255883762955674233621175853353169",
"219936648244869027638078566151295136364",
"185077388558120852012544171801399809806",
"201273668825858706536625492116261927482",
"89306668249278182338547637447717928084",
"3870691890504760664170096862531715510",
"188729046174796049320278951550318021462",
"119695758224611338394967068421408468121",
"237204443698544197507511548931600360954",
"76845400444335940921878909852528792920",
"220767147040442188183983019327440131905"
],
"threshold": 0.9
},
"id": "CVE-2026-73260-a95e205c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e",
"target": {
"file": "src/tls_builtin.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"124394138259036225932629568363532647872",
"139709116596322563198480498833780995953",
"235360255883762955674233621175853353169",
"219936648244869027638078566151295136364",
"185077388558120852012544171801399809806",
"201273668825858706536625492116261927482",
"89306668249278182338547637447717928084",
"3870691890504760664170096862531715510",
"188729046174796049320278951550318021462",
"119695758224611338394967068421408468121",
"237204443698544197507511548931600360954",
"76845400444335940921878909852528792920",
"220767147040442188183983019327440131905"
],
"threshold": 0.9
},
"id": "CVE-2026-73260-d38af171",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/a8b4ae95db3c2db85e5ad9db3fefaeebb5f7b43e",
"target": {
"file": "mongoose.c"
}
}
]
"2026-10-16T07:11:26Z"