CVE-2026-130176
aMQTT: Denial of Service (DoS) via Memory Leak in Unmanaged QoS 2 Session Handshakes
- CVSS
- 7.5
- EPSS
- 0.62% (p51)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- Yakifo amqtt
- Aliases
- GHSA-wcqj-wx85-c75p
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
Fixed in
0.12.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| PyPI | amqtt | >= 0.11.0, <= 0.12.0 | 0.12.1 |
| PyPI | amqtt | >=0.11.0, <0.12.1 | 0.12.1 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-wcqj-wx85-c75p x_refsource_CONFIRM
- https://github.com/Yakifo/amqtt/pull/404 x_refsource_MISC
- https://github.com/Yakifo/amqtt/commit/2755fd801a6f95e9b73e11116948b57a95348466 x_refsource_MISC
- https://github.com/Yakifo/amqtt/commit/64a6f8c3ebc47640f2e092885c1d504c8f34f1af x_refsource_MISC
- https://github.com/Yakifo/amqtt/releases/tag/v0.12.1 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130176.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-130176 advisory
- https://github.com/advisories/GHSA-wcqj-wx85-c75p other
- https://github.com/Yakifo/amqtt package