CVE-2026-54412

high

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.

References

https://github.com/LiamBindle/MQTT-C/releases/tag/v1.1.7

https://github.com/LiamBindle/MQTT-C/pull/208

https://github.com/LiamBindle/MQTT-C/blob/v1.1.6/src/mqtt.c#L1334

https://github.com/LiamBindle/MQTT-C

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36663

https://cwe.mitre.org/data/definitions/191.html

https://cwe.mitre.org/data/definitions/125.html

Details

Source: Mitre, NVD

Published: 2026-06-14

Updated: 2026-11-05

Risk Information

CVSS v2

Base Score: 8.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:C

Severity: High

CVSS v3

Base Score: 8.2

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Severity: High

CVSS v4

Base Score: 8.8

Vector: 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

Severity: High

EPSS

EPSS: 0.0043