CVE-2026-54412
highLiamBindle 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/m…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://cwe.mitre.org/data/definitions/125.html 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- https://cwe.mitre.org/data/definitions/191.html 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- https://github.com/LiamBindle/MQTT-C 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- https://github.com/LiamBindle/MQTT-C/blob/v1.1.6/src/mqtt.c#L1334 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- https://github.com/LiamBindle/MQTT-C/pull/208 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- https://github.com/LiamBindle/MQTT-C/releases/tag/v1.1.7 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

