Description (CNA)
LiamBindle MQTT-C through version 1.1.6 contains a heap-based out-of-bounds read and integer underflow in the mqtt_unpack_publish_response function in src/mqtt.c that allows a remote unauthenticated attacker controlling an MQTT broker - or able to inject MQTT traffic into an unencrypted session - to crash a subscribed MQTT-C client and potentially disclose adjacent heap memory by sending a single crafted PUBLISH packet.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| LiamBindle / MQTT-C | affected 0 through 1.1.6 |
CWE
CWE-125, CWE-191
References
- https://github.com/LiamBindle/MQTT-C
- https://github.com/LiamBindle/MQTT-C/blob/v1.1.6/src/mqtt.c#L1334
- https://cwe.mitre.org/data/definitions/125.html
- https://cwe.mitre.org/data/definitions/191.html
ADP enrichment
No English description supplied.
No references supplied.