Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://cwe.mitre.org/data/definitions/125.html
- https://cwe.mitre.org/data/definitions/191.html
- https://github.com/LiamBindle/MQTT-C
- https://github.com/LiamBindle/MQTT-C/blob/v1.1.6/src/mqtt.c#L1334
FAQ
What is CVE-2026-54412?
CVE-2026-54412 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 a...
How severe is CVE-2026-54412?
CVE-2026-54412 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54412?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.