Critical
Security advisory
An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause a stack buffer overflow resulting in remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-2894
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:43 UTC · Revision 1
Source evidence
An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause a stack buffer overflow resulting in remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
osv:CVE-2017-2894
Complete source record
{
"id": "2590e35324ef89941cfa79b4a33fadc997531d979a191ddb4973b6f36fe3f698",
"url": "https://osv.dev/vulnerability/CVE-2017-2894",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-2894",
"summary": "An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause a stack buffer overflow resulting in remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.",
"evidence": "osv:CVE-2017-2894",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-2894",
"aliases": [
"CVE-2017-2894"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cesanta/mongoose",
"type": "GIT",
"events": [
{
"introduced": "acfc66cd60f5bfa7dc4d37194d72855c201e5710"
},
{
"last_affected": "acfc66cd60f5bfa7dc4d37194d72855c201e5710"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cesanta:mongoose:6.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.8"
},
{
"last_affected": "6.8"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"6.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2894.json"
}
}
],
"modified": "2026-10-24T10:30:32.900803008Z",
"provider": "osv",
"references": [
"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0401"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-2894",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433132,
"published_at": "2017-11-07T16:29:00.81+00:00"
}