Mongoose is an embedded web server and network library. Prior to 7.23, a network attacker can impersonate a TLS server to a Mongoose client configured with a multi-certificate CA bundle. In src/tls_builtin.c, the mg_tls_init() function stores the bundle in tls->ca_bundle_der while tls->ca_der.len remains zero, and mg_tls_recv_cert() uses tls_bundle_find() to accept a Common Name match without calling mg_tls_verify_cert_signature(). A forged self-signed certificate can therefore satisfy hostname and CertificateVerify checks and enable interception, credential disclosure, traffic modification, and malicious responses. This issue is fixed in version 7.23.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-295"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73251.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73251.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"280880759204458332186591428807639899707",
"91784847098628061190181036714616550317",
"260324905700960565902262748823032487472",
"1462060790025201554329754208352907614"
],
"threshold": 0.9
},
"id": "CVE-2026-73251-4e9d2e62",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483",
"target": {
"file": "mongoose.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "179946136510036810370347435467022032985",
"length": 4038
},
"id": "CVE-2026-73251-7aa16f5b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483",
"target": {
"file": "src/tls_builtin.c",
"function": "mg_tls_recv_cert"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "179946136510036810370347435467022032985",
"length": 4038
},
"id": "CVE-2026-73251-b716628b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483",
"target": {
"file": "mongoose.c",
"function": "mg_tls_recv_cert"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"280880759204458332186591428807639899707",
"91784847098628061190181036714616550317",
"260324905700960565902262748823032487472",
"1462060790025201554329754208352907614"
],
"threshold": 0.9
},
"id": "CVE-2026-73251-d2542a77",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483",
"target": {
"file": "src/tls_builtin.c"
}
}
]
"2026-09-11T08:36:51Z"