CVE-2026-54412
HIGH 7.8CVSS 4.0MQTT-C Heap Out-of-Bounds Read and Integer Underflow in mqtt_unpack_publish_response()
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.
- Published
- 14 Jun 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- NVD status
- Deferred
- Weakness
- CWE-125CWE-191
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 4.0 | HIGH 7.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:D/RE:X/U:X |
| CVE List | TuranSec | CVSS 4.0 | HIGH 7.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/AU:Y/V:D |
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| CVE List | TuranSec | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | LiamBindle | MQTT-C | < 1.1.7 | 1.1.7 |
References
- https://cwe.mitre.org/data/definitions/125.html · technical-description
- https://cwe.mitre.org/data/definitions/191.html · technical-description
- https://github.com/LiamBindle/MQTT-C · product
- https://github.com/LiamBindle/MQTT-C/blob/v1.1.6/src/mqtt.c#L1334 · product
- https://github.com/LiamBindle/MQTT-C/pull/208 · patch
- https://github.com/LiamBindle/MQTT-C/releases/tag/v1.1.7 · release-notes, patch
History
- 2 Dec 2026 15:18 UTC · CVE List: first stored (published 14 Jun 2026)
- 2 Dec 2026 15:18 UTC · NVD: updated (other details)
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 14 Jun 2026)