coreMQTT CVE-2026-8686: heap out-of-bounds read in MQTT5 property parser
AWS published a security bulletin describing CVE-2026-8686, a vulnerability in coreMQTT, a lightweight MQTT client library for embedded devices. Missing bounds validation in the MQTT v5.0 SUBACK and UNSUBACK property parser in coreMQTT versions before 5.0.1 allows a malicious or compromised MQTT broker to crash the client via a heap out-of-bounds read by sending a crafted packet. Only version 5.0.0 is listed as impacted, and the issue is fixed in 5.0.1.
SECURITY · DEVOPS · VULNERABILITY · SECURITY ADVISORY
PUBLISHED OCT 13, 2026 18:51 UTC
WHAT CHANGED
A flaw in coreMQTT's MQTT5 property parsing logic for SUBACK and UNSUBACK packets failed to validate bounds, enabling an MQTT broker to send a crafted packet that triggers a heap out-of-bounds read and crashes the client (denial of service). The issue affects coreMQTT v5.0.0 and is resolved in v5.0.1. AWS states there are no workarounds; affected deployments must upgrade to the fixed version.
WHY IT MATTERS
Devices or services using coreMQTT v5.0.0 to connect to an MQTT broker are exposed to a denial-of-service condition if the broker (or an attacker able to act as or spoof the broker) sends a malformed SUBACK/UNSUBACK packet. Since no workaround exists, administrators must identify all instances of coreMQTT in their fleet, including forked or derivative code, and upgrade to 5.0.1 to restore availability and close the crash vector.
WHO IS AFFECTED
- ROLES
- Security administratorsEmbedded device developers using coreMQTT
- PRODUCTS
- coreMQTT
- FEATURES
- MQTT v5.0 SUBACK/UNSUBACK property parsing
- CONFIGURATIONS
- coreMQTT version 5.0.0
- ENVIRONMENTS
- Embedded devices using MQTT v5.0
WHAT TO DO
- 01
- 02HIGH
Check any forked or derivative copies of coreMQTT code and apply the fix from coreMQTT PR #367.
- 03MEDIUM
Review MQTT broker interactions for crafted SUBACK/UNSUBACK packets that could trigger a crash prior to patching.
TIMELINE
- ANNOUNCED
- MAY 14, 2026
SOURCES
- PRIMARY SOURCEAMAZON WEB SERVICES, INC.
CVE-2026-8686 - Heap out-of-bounds read in coreMQTT MQTT5 property parsing
PUBLISHED MAY 14, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.