CVE-2026-115417: DoS flaw in aws-c-mqtt MQTT 3.1.1 compatibility adapter
AWS disclosed CVE-2026-115417, a CWE-789 memory allocation with excessive size vulnerability in the MQTT 3.1.1 compatibility adapter of aws-c-mqtt, a C99 library bundled in the AWS IoT Device SDK for C++ v2. A remote actor could exploit this to crash the client process, causing a denial of service. Versions >=0.9.1 and <0.16.2 are affected; the issue is fixed in v0.16.2.
SECURITY · NETWORK · VULNERABILITY · SECURITY ADVISORY
PUBLISHED OCT 23, 2026 19:46 UTC
WHAT CHANGED
The MQTT 3.1.1 compatibility adapter in aws-c-mqtt mishandled packet size allocation, allowing a malicious or compromised MQTT broker response to trigger an excessive memory allocation and crash the client. AWS released aws-c-mqtt v0.16.2 to fix the flaw; versions from 0.9.1 up to but not including 0.16.2 are vulnerable.
WHY IT MATTERS
Applications using the AWS IoT Device SDK for C++ v2 or any derivative that bundles the vulnerable aws-c-mqtt library are exposed to a remote denial-of-service condition if they connect to an untrusted or compromised MQTT broker. Administrators should upgrade dependent code to incorporate the fix to avoid client process crashes.
WHO IS AFFECTED
- PRODUCTS
- aws-c-mqttAWS IoT Device SDK for C++ v2
- FEATURES
- MQTT 3.1.1 compatibility adapter
- CONFIGURATIONS
- aws-c-mqtt versions >= 0.9.1 and < 0.16.2
WHAT TO DO
- 01CRITICALAUTOMATABLE
Upgrade aws-c-mqtt to version v0.16.2 or later.
- 02HIGH
Patch any forked or derivative code that incorporates the vulnerable MQTT 3.1.1 compatibility adapter to include the fix in v0.16.2.
- 03MEDIUM
If immediate upgrade is not possible, restrict MQTT connections to trusted brokers only (e.g., AWS IoT Core) and enforce TLS to prevent on-path tampering of broker responses.
- 04MEDIUM
Where feasible, avoid using the MQTT 3.1.1 compatibility adapter and switch to a native MQTT5 or MQTT 3.1.1 client implementation.
TIMELINE
- ANNOUNCED
- OCT 22, 2026
SOURCES
- PRIMARY SOURCEAMAZON WEB SERVICES, INC.
CVE-2026-115417 - Memory allocation with excessive size value in the MQTT 3.1.1 compatibility adapter in aws-c-mqtt
PUBLISHED OCT 22, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.