CVE-2026-104199
Description
aMQTT is an open source MQTT broker and client. From 0.11.0 until 0.11.4, add_subscription() in amqtt/broker.py accepts malformed single-level + wildcard placement because it checks substrings instead of validating each slash-delimited level. The _matches() function converts each + into a greedy regular-expression fragment and evaluates it with re.fullmatch(), allowing a filter containing many adjacent + characters to trigger catastrophic backtracking when compared with a topic that partially matches but ultimately fails. Because matching runs synchronously in _run_broadcast(), one subscription followed by a publish can block the broker event loop, stopping message delivery and new connection processing until restart. Anonymous clients can trigger the issue with the default configuration. Any authenticated client permitted to create arbitrary subscriptions and publish messages may still exploit it when authentication is enabled. This issue is fixed in version 0.11.4.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-104199 NameCVE-2026-104199 DescriptionaMQTT is an open source MQTT broker and client. From 0.11.0 until 0.11.4, add_subscription() in amqtt/broker.py accepts malformed single-level + wildcard placement because it checks substrings instead of validating each slash-delimited level. The _matches() function converts each + into a greedy regular-expression fragment and evaluates it with…
CVE-2026-104199
| Name | CVE-2026-104199 |
| Description | aMQTT is an open source MQTT broker and client. From 0.11.0 until 0.11.4, add_subscription() in amqtt/broker.py accepts malformed single-level + wildcard placement because it checks substrings instead of validating each slash-delimited level. The _matches() function converts each + into a greedy regular-expression fragment and evaluates it with re.fullmatch(), allowing a filter containing many adjacent + characters to trigger catastrophic backtracking when compared with a topic that partially matches but ultimately fails. Because matching runs synchronously in _run_broadcast(), one subscription followed by a publish can block the broker event loop, stopping message delivery and new connection processing until restart. Anonymous clients can trigger the issue with the default configuration. Any authenticated client permitted to create arbitrary subscriptions and publish messages may still exploit it when authentication is enabled. This issue is fixed in version 0.11.4. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| amqtt (PTS) | forky, sid | 0.12.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| amqtt | source | (unstable) | 0.11.4-1 |
Notes
https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946
https://github.com/Yakifo/amqtt/pull/361
https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0 (v0.11.4)
Apply commands
https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946https://github.com/Yakifo/amqtt/pull/361https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0 (v0.11.4)
OS impact
Debian Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | amqtt |
Fixed | 0.11.4-1 |
| forky | amqtt |
Fixed | 0.11.4-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| yakifo | amqtt | >= 0.11.0, < 0.11.4 | |
References
- https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0
- https://github.com/Yakifo/amqtt/pull/361
- https://github.com/Yakifo/amqtt/releases/tag/v0.11.4
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946
- https://nvd.nist.gov/vuln/detail/CVE-2026-104199
- https://github.com/advisories/GHSA-2hjf-7455-w946
- https://github.com/Yakifo/amqtt
- https://security-tracker.debian.org/tracker/CVE-2026-104199
CWEs
CWE-20 CWE-400 CWE-1333
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.