CVE-2026-54412 MQTT-C Heap Out-of-Bounds Read and Integer Underflow in mqtt_unpack_publish_response()
HighCVSS 7.8
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
LiamBindle MQTT-C versions prior to 1.1.7 contain a heap-based out-of-bounds read and integer underflow in the mqtt_unpack_publish_response() function in src/mqtt.c. A remote unauthenticated attacker controlling an MQTT broker, or capable of injecting MQTT traffic into an unencrypted session, can crash a subscribed MQTT-C client and potentially disclose adjacent heap memory by sending a single crafted PUBLISH packet.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| LiamBindle MQTT-C | < 1.1.7 | 1.1.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| LiamBindle MQTT-C | < 1.1.7 | 1.1.7 |
References
- LiamBindle/MQTT-C upstream repository product
- Vulnerable mqtt_unpack_publish_response() in src/mqtt.c (v1.1.6) product
- Fix out-of-bounds read and integer underflow in PUBLISH parsing patch
- MQTT-C v1.1.7 release patch release-notes
- CWE-125: Out-of-bounds Read technical-description
- CWE-191: Integer Underflow (Wrap or Wraparound) technical-description
- ENISA EUVD EUVD-2026-36663 third-party-advisory