CVE-2026-54412 Details
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.
A vulnerability in LiamBindle MQTT-C versions through 1.1.6 allows for a heap-based out-of-bounds read and integer underflow in the mqtt_unpack_publish_response() function. This issue enables a remote, unauthenticated attacker, who controls an MQTT broker or can inject MQTT traffic into an unencrypted session, to crash a subscribed MQTT-C client and potentially disclose adjacent heap memory. The vulnerability arises because the function only partially validates the fixed-header remaining_length before reading the topic_name_size field from the broker-controlled packet. This oversight allows an attacker to craft a PUBLISH packet that exploits the vulnerability by causing an out-of-bounds read and manipulating the application_message_size calculation, leading to a crash when the data is moved in memory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 14, 2026CISA-ADP
Assessed Jun 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cwe.mitre.org/data/definitions/125.html | TuranSec | Not Applicable |
| https://cwe.mitre.org/data/definitions/191.html | TuranSec | |
| https://github.com/LiamBindle/MQTT-C | TuranSec | ProductVendor |
| https://github.com/LiamBindle/MQTT-C/blob/v1.1.6/src/mqtt.c#L1334 | TuranSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | TuranSec |
| CWE-191 | Integer Underflow (Wrap or Wraparound) | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| LiamBindle MQTT-C | <= 1.1.6 (semver) |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | TuranSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 14, 2026 | New CVE Received | TuranSec |
Volerion