{"id":"CVE-2026-130176","summary":"aMQTT: Denial of Service (DoS) via Memory Leak in Unmanaged QoS 2 Session Handshakes","details":"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.","aliases":["GHSA-wcqj-wx85-c75p"],"modified":"2026-11-19T21:01:28.977397828Z","published":"2026-11-19T19:54:41.358Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-401","CWE-772"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130176.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130176.json"},{"type":"FIX","url":"https://github.com/Yakifo/amqtt/commit/2755fd801a6f95e9b73e11116948b57a95348466"},{"type":"FIX","url":"https://github.com/Yakifo/amqtt/commit/64a6f8c3ebc47640f2e092885c1d504c8f34f1af"},{"type":"FIX","url":"https://github.com/Yakifo/amqtt/pull/404"},{"type":"WEB","url":"https://github.com/Yakifo/amqtt/releases/tag/v0.12.1"},{"type":"ADVISORY","url":"https://github.com/Yakifo/amqtt/security/advisories/GHSA-wcqj-wx85-c75p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130176"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yakifo/amqtt","events":[{"introduced":"352678c87e50e501a8a5bb91fab73c9400fa046c"},{"fixed":"2755fd801a6f95e9b73e11116948b57a95348466"},{"fixed":"64a6f8c3ebc47640f2e092885c1d504c8f34f1af"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.11.0"},{"fixed":"0.12.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2755fd801a6f95e9b73e11116948b57a95348466"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"64a6f8c3ebc47640f2e092885c1d504c8f34f1af"}]},{"source":"REFERENCES_TAG","original_tag":"v0.12.1","range":[{"fixed":"2755fd801a6f95e9b73e11116948b57a95348466"}]}]}}],"versions":["v0.12.0","v0.12.0rc1","v0.11.3","v0.11.2","v0.11.1","v0.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130176.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}