Null pointer dereference in addcacerts() in Cesanta Mongoose before 7.2 allows remote attackers to cause a denial of service via TLS initialization where SSLCTXgetcertstore() returns NULL.
[
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "mongoose.h"
},
"id": "CVE-2025-65502-cffe2bf2",
"deprecated": false,
"source": "https://github.com/cesanta/mongoose/commit/452bcc68a4c5fecce2ca6ad5c9b60beca9b0214f",
"digest": {
"line_hashes": [
"81101173494962791664314093816730485003",
"17561331730311471187096575611295949743",
"168208850472217345959817839290500139439",
"61425641275395339594192646831569603171"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "src/mqtt.h"
},
"id": "CVE-2025-65502-d3cb1e44",
"deprecated": false,
"source": "https://github.com/cesanta/mongoose/commit/452bcc68a4c5fecce2ca6ad5c9b60beca9b0214f",
"digest": {
"line_hashes": [
"81101173494962791664314093816730485003",
"17561331730311471187096575611295949743",
"168208850472217345959817839290500139439",
"61425641275395339594192646831569603171"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65502.json"