{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","favicon":"https://feed.craftedsignal.io/favicon-32x32.png","feed_url":"https://feed.craftedsignal.io/tags/cwe-476/feed.json","home_page_url":"https://feed.craftedsignal.io/","icon":"https://feed.craftedsignal.io/apple-touch-icon.png","items":[{"_cs_actors":[],"_cs_cpes":["cpe:2.3:a:eclipse:mosquitto:2.1.0:*:*:*:*:*:*:*","cpe:2.3:a:eclipse:mosquitto:2.1.1:*:*:*:*:*:*:*","cpe:2.3:a:eclipse:mosquitto:2.1.2:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":7.5,"id":"CVE-2026-126706"}],"_cs_exploited":false,"_cs_has_poc":false,"_cs_poc_references":[],"_cs_products":["Eclipse Mosquitto"],"_cs_severities":["low"],"_cs_tags":["CWE-476","Denial of Service"],"_cs_type":"advisory","_cs_vendors":["Eclipse Foundation"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003eEclipse Mosquitto versions 2.1.0 through 2.1.2 and the current development branch (commit 6aaba326) contain a null-pointer dereference (CWE-476) in the \u003ccode\u003emosquitto_ctrl\u003c/code\u003e utility. The vulnerability is located in \u003ccode\u003eapps/mosquitto_ctrl/ctrl_shell.c\u003c/code\u003e within the \u003ccode\u003ectrl_shell__on_message()\u003c/code\u003e function. When the utility processes a \u003ccode\u003e$CONTROL\u003c/code\u003e PUBLISH response from a broker, it fails to validate the data type of the \u0026quot;error\u0026quot; field. If a broker sends a non-string value, the code attempts to access \u003ccode\u003evaluestring\u003c/code\u003e on a structure that does not contain one, resulting in a NULL pointer dereference and a crash of the \u003ccode\u003emosquitto_ctrl\u003c/code\u003e process.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003cp\u003eAn attacker controlling a malicious MQTT broker or performing a man-in-the-middle attack on an unencrypted or unauthenticated connection can trigger the vulnerability by sending a crafted \u003ccode\u003e$CONTROL\u003c/code\u003e PUBLISH packet with a non-string \u0026quot;error\u0026quot; field.\u003c/p\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eThis vulnerability results in a client-side denial of service, preventing the operator from further administrative interaction with the broker via the \u003ccode\u003emosquitto_ctrl\u003c/code\u003e utility.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eOnly use \u003ccode\u003emosquitto_ctrl\u003c/code\u003e to connect to trusted brokers.\u003c/li\u003e\n\u003cli\u003eEnforce the use of TLS with strict certificate verification (using \u003ccode\u003e--cafile\u003c/code\u003e, \u003ccode\u003e--cert\u003c/code\u003e, and \u003ccode\u003e--key\u003c/code\u003e flags) to prevent man-in-the-middle injection.\u003c/li\u003e\n\u003cli\u003eApply the provided patch to \u003ccode\u003eapps/mosquitto_ctrl/ctrl_shell.c\u003c/code\u003e to include null-checks for the \u003ccode\u003evaluestring\u003c/code\u003e property before calling \u003ccode\u003estrcmp\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e\n","date_modified":"2026-11-20T00:01:33Z","date_published":"2026-11-20T00:01:33Z","id":"https://feed.craftedsignal.io/briefs/2026-11-mosquitto-ctrl-dos-cve-2026-126706/","summary":"A null-pointer dereference in the Eclipse Mosquitto mosquitto_ctrl utility allows a malicious broker to crash the client tool via a crafted JSON $CONTROL reply.","title":"Eclipse Mosquitto: mosquitto_ctrl denial-of-service (CVE-2026-126706)","url":"https://feed.craftedsignal.io/briefs/2026-11-mosquitto-ctrl-dos-cve-2026-126706/"}],"language":"en","title":"CraftedSignal Threat Feed - CWE-476","version":"https://jsonfeed.org/version/1.1"}