High
Security advisory
NanoMQ v0.17.9 was discovered to contain a heap use-after-free vulnerability via the component sub_Ctx_handle. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted SUBSCRIBE message.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-42651
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:04 UTC · Revision 1
Source evidence
NanoMQ v0.17.9 was discovered to contain a heap use-after-free vulnerability via the component sub_Ctx_handle. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted SUBSCRIBE message.
osv:CVE-2024-42651
Complete source record
{
"id": "e0689921f8e52ea7cf2bccfed36482f3b6c469bf4ace4cdfd28808c1c992479b",
"url": "https://osv.dev/vulnerability/CVE-2024-42651",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-42651",
"summary": "NanoMQ v0.17.9 was discovered to contain a heap use-after-free vulnerability via the component sub_Ctx_handle. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted SUBSCRIBE message.",
"evidence": "osv:CVE-2024-42651",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-42651",
"aliases": [
"CVE-2024-42651"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nanomq/nanomq",
"type": "GIT",
"events": [
{
"introduced": "d94cac6b692c7cda7921eff319265b34bfd920c5"
},
{
"last_affected": "d94cac6b692c7cda7921eff319265b34bfd920c5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:emqx:nanomq:0.17.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.17.9"
},
{
"last_affected": "0.17.9"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.17.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42651.json"
}
}
],
"modified": "2026-10-28T02:30:48.684610754Z",
"provider": "osv",
"references": [
"https://github.com/songxpu/bug_report/blob/master/MQTT/NanoMQ/CVE-2024-42651.md",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42651.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42651",
"https://github.com/nanomq/nanomq/issues/1217",
"https://github.com/nanomq/nanomq"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42651.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42651",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516833,
"published_at": "2025-07-29T00:00:00+00:00"
}