JLSEC-2026-1565: In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted...
In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its onsubscribe callback. This affects the mosquittosub and mosquittorr clients.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What must an attacker control to exploit this issue?
An attacker must operate or control a broker that a vulnerable libmosquitto client connects to, and send that client a crafted SUBACK packet containing no reason codes. No authentication or user interaction is required according to the supplied severity vector.
Which client applications are explicitly known to be affected?
The issue explicitly affects the mosquitto_sub and mosquitto_rr clients. It occurs when a libmosquitto client processes the crafted response while executing its on_subscribe callback.
What impact could successful exploitation have?
The crafted packet can cause an out-of-bounds memory access. The supplied vector rates confidentiality, integrity, and availability impacts as high.
Are all listed Mosquitto versions affected?
The affected range is version 1.3.2 through 2.0.18. The provided data does not identify a fixed version.