CVE-2026-104199
High 8.7No known exploitationFix availableaMQTT: Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption and Improper Input Validation
Vendor advisory: GHSA-2hjf-7455-w946
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 41% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-20, CWE-400, CWE-1333
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Yakifo | amqtt | >= 0.11.0, < 0.11.4 | Not documented | CVE Program |
| pip | amqtt | from 0.11.0 up to and including 0.11.3 | 0.11.4 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0 (opens in a new tab)x_refsource_misc
- https://github.com/Yakifo/amqtt/pull/361 (opens in a new tab)x_refsource_misc
- https://github.com/Yakifo/amqtt/releases/tag/v0.11.4 (opens in a new tab)x_refsource_misc
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946 (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-2hjf-7455-w946 (opens in a new tab)github-advisory