Story

In the news · 2 sources · first seen 7d ago · oss-security
CVE-2026-129149: Eclipse Mosquitto: mosquitto_ctrl crash when connecting to hostile broker through heap overflow

Posted by Roger Light on Nov 17 Severity: Medium Affected versions: 2.1.0 to 2.1.2 inclusive Description: If mosquitto_ctrl is used to connect to a hostile broker in interactive shell mode, the broker can send responses that will cause the utility to crash. Users are encouraged to only ever connect

Briefing

Written from the coverage below · deepseek-v4.1-flash

Two low/medium severity flaws affect Eclipse Mosquitto 2.1.0 through 2.1.2: when mosquitto_ctrl connects to a hostile broker, malformed non-string "error" fields or interactive-shell responses trigger a heap overflow and crash. Advisories GHSA-c9wr-998w-8wf5 and GHSA-cp35-mcf9-93ww were posted to oss-security.

Why it mattersThe bug only triggers against a malicious broker, so risk is limited to operators who connect mosquitto_ctrl to untrusted or attacker-controlled MQTT endpoints.

ActionUpgrade Mosquitto past 2.1.2 once a fixed release ships; do not point mosquitto_ctrl at untrusted brokers.

Coverage

2 articles