> CVE-2026-30867 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-04-02 14:16
MODIFIED
2026-04-02 14:16
CVSS_SCORE V3
5.7
EPSS (Prob. Exploit)
0.33%
Top 73.6%
DATA SOURCES:
NVD đź”— 2026-04-02 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-10-28 OSV đź”— 2026-11-01

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

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
EXPLOITABILITY
2.1
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-617

> CWE DETAILED DESCRIPTIONS

CWE-617: Reachable Assertion - The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

> GITHUB SECURITY ADVISORY

GHSA-r3fr-7m74-q7g2 MODERATE

CocoaMQTT: Denial of Service via Reachable Assertion in `PUBLISH` Packet Parsing

AFFECTED PACKAGES:
SWIFT / CocoaMQTT
< 2.2.2
Fixed in: 2.2.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

CocoaMQTT: Denial of Service via Reachable Assertion in `PUBLISH` Packet Parsing

AFFECTED PACKAGES:
Unknown / Unknown
64 versions affected
ALIASES:
GHSA-r3fr-7m74-q7g2

> HISTORIQUE DES MODIFICATIONS

Première apparition
02/04/2026 14:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-617: Reachable Assertion - The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/emqx/CocoaMQTT/commit/010bca6f61b97d726252f61641d331a2bf82b33...
https://github.com/emqx/CocoaMQTT/pull/659
https://github.com/emqx/CocoaMQTT/releases/tag/2.2.2
https://github.com/emqx/CocoaMQTT/security/advisories/GHSA-r3fr-7m74-q7g2
« BACK_TO_HOME