Denial of service via memory leak in aMQTT QoS 2 handshakes
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-401.
Summary
aMQTT, an open source MQTT broker and client, is affected from 0.11.0 before 0.12.1. The QoS 2 transaction handler keeps transaction state and packet identifiers when a client disconnects before the handshake completes, unlike QoS 1 flows that expire after five seconds (CWE-401). A remote client can repeatedly start QoS 2 flows and disconnect, so broker memory grows until the process can be exhausted, and anonymous clients can do this with the default configuration.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
aMQTT is an open source MQTT broker and client. From 0.11.0 until 0.12.1, the QoS 2 transaction handler in amqtt/mqtt/protocol/handler.py, _handle_qos2_message_flow(), can retain transaction state and packet identifiers when a client disconnects before the handshake completes, unlike QoS 1 flows that expire after the default five-second timeout. A remote client can repeatedly begin QoS 2 flows and disconnect without maintaining long-lived connections; anonymous clients can do this with the default configuration, while authenticated deployments remain affected when a client may initiate QoS 2 flows. The retained state grows broker memory until resource exhaustion can terminate the process; no confidentiality or integrity impact is identified. This issue is fixed in version 0.12.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Yakifo | amqtt | 0.11.0 to before 0.12.1 | 0.12.1 | Patch available | CNA |
| — | amqtt (PyPI) | 0.11.0 to before 0.12.1 | 0.12.1 | Patch available | GHSA-wcqj-wx85-c75p |
- amqtt VendorYakifo Affected 0.11.0 to before 0.12.1 Fixed in 0.12.1 Patch available CNA
- amqtt (PyPI) Vendor— Affected 0.11.0 to before 0.12.1 Fixed in 0.12.1 Patch available GHSA-wcqj-wx85-c75p
Remediation
Upgrade amqtt to version 0.12.1, which is the fixed version for both the Yakifo amqtt and the PyPI amqtt packages.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA amqtt (Yakifo) Fixed in 0.12.1
- Fix · GHSA-wcqj-wx85-c75p amqtt (PyPI) Fixed in 0.12.1 Advisory →
Timeline
- 2026-11-19 Threatist record created from CVE-2026-130176
- 2026-11-20 Alias added: GHSA-wcqj-wx85-c75p
- 2026-11-20 Fix available: PyPI/[email protected] · GHSA-wcqj-wx85-c75p
- 2026-11-20 CVSS score added · GHSA-wcqj-wx85-c75p
- 2026-11-20 Weakness changed · GHSA-wcqj-wx85-c75p
- 2026-11-20 7 new references · GHSA-wcqj-wx85-c75p
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-21 EPSS moved to the 50th–90th percentile
- 2026-11-25 EPSS moved to the below the 50th percentile
References
Other 6
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-wcqj-wx85-c75p
- https://github.com/Yakifo/amqtt/pull/404
- https://github.com/Yakifo/amqtt/commit/2755fd801a6f95e9b73e11116948b57a95348466
- https://github.com/Yakifo/amqtt/commit/64a6f8c3ebc47640f2e092885c1d504c8f34f1af
- https://github.com/Yakifo/amqtt/releases/tag/v0.12.1
- https://github.com/Yakifo/amqtt
More Yakifo vulnerabilities
- TI-2026-95133 Regular expression backtracking in aMQTT broker blocks message delivery CVSS 4.0HIGH 8.7
Sources
- CVE-2026-130176 · CVE Program
- CVE-2026-130176 · NVD
- FIRST EPSS
- GHSA-wcqj-wx85-c75p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences