Impact
The latest CVE description confirms that MQTT‑C versions prior to 1.1.7 continue to have a heap‑based out‑of‑bounds read and integer underflow in the mqtt_unpack_publish_response() function. A remote unauthenticated attacker, such as a compromised broker or an entity injecting traffic into an unencrypted session, can send a single crafted PUBLISH packet that triggers a crash in the subscribed client and may expose adjacent heap memory. The flaw arises when the function processes the topic_name_size field without verifying that it fits within the remaining packet length, leading to an over‑read and potential information disclosure.
Affected Systems
Vendors: LiamBindle. Product: MQTT‑C. Affected versions: 1.1.6 and earlier.
Risk and Exploitability
CVSS score 7.8 indicates high severity. The EPSS score is extremely low (under 1%), implying a small chance of exploitation, yet the vulnerability can be trivially exercised by sending a malformed PUBLISH packet from a compromised or malicious broker, or by injecting traffic into an unencrypted MQTT session. Because the flaw is remote and unauthenticated, any subscriber to the broker may be affected. The vulnerability is not listed in CISA’s KEV catalog, but the nature of the bug suggests straightforward exploitation if the conditions are met.
OpenCVE Enrichment