{"id":"CVE-2026-130176","aliases":["GHSA-wcqj-wx85-c75p"],"title":"aMQTT: Denial of Service (DoS) via Memory Leak in Unmanaged QoS 2 Session Handshakes","originalDescription":"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.","severity":{"cvss":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00623,"percentile":0.51328},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"amqtt","range":">= 0.11.0, <= 0.12.0","fixed":"0.12.1"},{"ecosystem":"PyPI","name":"amqtt","range":">=0.11.0, <0.12.1","fixed":"0.12.1"}],"references":[{"url":"https://github.com/Yakifo/amqtt/security/advisories/GHSA-wcqj-wx85-c75p","type":"x_refsource_CONFIRM"},{"url":"https://github.com/Yakifo/amqtt/pull/404","type":"x_refsource_MISC"},{"url":"https://github.com/Yakifo/amqtt/commit/2755fd801a6f95e9b73e11116948b57a95348466","type":"x_refsource_MISC"},{"url":"https://github.com/Yakifo/amqtt/commit/64a6f8c3ebc47640f2e092885c1d504c8f34f1af","type":"x_refsource_MISC"},{"url":"https://github.com/Yakifo/amqtt/releases/tag/v0.12.1","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130176.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130176","type":"advisory"},{"url":"https://github.com/advisories/GHSA-wcqj-wx85-c75p","type":"other"},{"url":"https://github.com/Yakifo/amqtt","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-20T17:31:11.865Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130176","license":"NVD terms of use","firstSeenAt":"2026-11-19T20:41:15.515Z"},{"name":"osv","at":"2026-11-20T18:04:44.670Z","url":"https://osv.dev/vulnerability/CVE-2026-130176","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T21:14:38.919Z"},{"name":"ghsa","at":"2026-12-04T08:25:08.962Z","url":"https://github.com/advisories/GHSA-wcqj-wx85-c75p","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T15:19:11.389Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:32.660Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-130176","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T20:05:40.709Z"}],"firstSeenAt":"2026-11-19T20:05:40.709Z","publishedAt":"2026-11-19T19:54:41.358Z","modifiedAt":"2026-11-20T17:45:53.774Z"}