BreachSpiderVerified, not vibes

CVE-2026-30867 in Emqx Cocoamqtt and 2 more products

Medium 6.5

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-byt...

Affects 3 products from 2 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS0.5%
EPSS percentile38th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Emqx Cocoamqtt < 2.2.2

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Apple Macos, Apple Iphone Os

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-30867
BreachSpider IDBS-2026-GLOBAL-079886-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2026-04-02
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-617: CWE-617

Analysis AI-written, not human-reviewed

A vulnerability in CocoaMQTT prior to version 2.2.2 allows an attacker to remotely crash iOS/macOS/tvOS applications by publishing a 4-byte malformed payload to a shared topic with the RETAIN flag set to true.

The attack vector involves an attacker or a compromised MQTT broker publishing a specially crafted MQTT message with a malformed payload to a topic that the target application is subscribed to. The RETAIN flag ensures that the message is stored by the broker and delivered to the application upon subscription, triggering the crash.

Questions

What is CVE-2026-30867?

A vulnerability in CocoaMQTT prior to version 2.2.2 allows an attacker to remotely crash iOS/macOS/tvOS applications by publishing a 4-byte malformed payload to a shared topic with the RETAIN flag set to true.

What is the CVSS score for CVE-2026-30867?

CVE-2026-30867 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.5%.

Is CVE-2026-30867 actively exploited?

No confirmed active exploitation of CVE-2026-30867 as of 2026-11-03.

How do I remediate CVE-2026-30867?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-30867?

CVE-2026-30867 affects Emqx Cocoamqtt.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Emqx","product":"Cocoamqtt","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.