CVE Explorer
CVE-2026-30867
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, t
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"CocoaMQTT","vendor":"emqx","versions":[{"status":"affected","version":"< 2.2.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-617","description":"CWE-617: Reachable Assertion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/emqx/CocoaMQTT/commit/010bca6f61b97d726252f61641d331a2bf82b338","tags":["x_refsource_MISC"],"url":"https://github.com/emqx/CocoaMQTT/commit/010bca6f61b97d726252f61641d331a2bf82b338"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/references/2
{"name":"https://github.com/emqx/CocoaMQTT/pull/659","tags":["x_refsource_MISC"],"url":"https://github.com/emqx/CocoaMQTT/pull/659"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/references/1
{"name":"https://github.com/emqx/CocoaMQTT/releases/tag/2.2.2","tags":["x_refsource_MISC"],"url":"https://github.com/emqx/CocoaMQTT/releases/tag/2.2.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/references/3
{"name":"https://github.com/emqx/CocoaMQTT/security/advisories/GHSA-r3fr-7m74-q7g2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/emqx/CocoaMQTT/security/advisories/GHSA-r3fr-7m74-q7g2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5ae791f16ff689ea98fa451a59c078933a2f10a39a3c78b459e5d3b5810f6019 · sha256:8b9825d9f081f228… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.