GHSA-r3fr-7m74-q7g2 · Severity: medium · Ecosystem: swift — CocoaMQTT: Denial of Service via Reachable Assertion in `PUBLISH` Packet Parsing
CocoaMQTT is a MQTT 5.0 client library for iOS and macOS written in Swift. Prior to version 2.2.2, a vulnerability exists in the packet parsing logic of CocoaMQTT that allows an attacker (or a compromised/malicious MQTT broker) to remotely crash the host iOS/macOS/tvOS application. If an attacker publishes the 4-byte malformed payload to a shared topic with the RETAIN flag set to true, the MQTT broker will persist the payload. Any time a vulnerable client connects and subscribes to that topic, the broker will automatically push the malformed packet. The app will instantly crash in the background before the user can even interact with it. This effectively "bricks" the mobile application (a persistent DoS) until the retained message is manually wiped from the broker database. This issue has been patched in version 2.2.2.
Conclusion & alert: CVE-2026-30867 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-22 | 0.05% | 0.02% | -0.03% |
| 2 | 2026-05-04 | 0.04% | 0.05% | +0.01% |
| 3 | 2026-04-03 | — | 0.04% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.7 | 3.1 | MEDIUM |
|
2.1 | 3.6 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-r3fr-7m74-q7g2 · Severity: medium · Ecosystem: swift — CocoaMQTT: Denial of Service via Reachable Assertion in `PUBLISH` Packet Parsing
| URL | Tags |
|---|---|
| https://github.com/emqx/CocoaMQTT/commit/010bca6f61b97d726252f61641d331a2bf82b338 | Patch |
| https://github.com/emqx/CocoaMQTT/pull/659 | Issue Tracking Patch |
| https://github.com/emqx/CocoaMQTT/releases/tag/2.2.2 | Release Notes |
| https://github.com/emqx/CocoaMQTT/security/advisories/GHSA-r3fr-7m74-q7g2 | Exploit Vendor Advisory |