Every CVE Search/ Get API key

CVE-2021-28166

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with...

6.5 MediumFix available

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.97%Up 0.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C
Weakness
CWE-476
Updated
2026-11-02
EUVDEUVD-2021-14859 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
EUVD-2021-14859
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C
Updated
2026-11-03
GitHub AdvisoriesGHSA-3647-h3m7-326w No score

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with...

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
GHSA-3647-h3m7-326w
Weakness
CWE-476
Updated
2026-11-02
NVD 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
OSVALPINE-CVE-2021-28166 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
ALPINE-CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2021-28166 6.5

CVE-2021-28166 does not affect BellSoft software

Record
BELL-CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSV 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-28166 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
DEBIAN-CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-28166 6.5

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Record
UBUNTU-CVE-2021-28166
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11057-1 No score

libmosquitto1-2.0.11-1.2 on GA media

These are all security issues fixed in the libmosquitto1-2.0.11-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11057-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mosquitto
Alpine:v3.14
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.15
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.16
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.17
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.18
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.19
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.20
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.21
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.22
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Alpine:v3.23
2.0.0 up to 2.0.10-r0
2.0.10-r0
Show 4 moreShow less
Affected packages
PackageAffectedFixed
mosquitto
Alpine:v3.24
2.0.0 up to 2.0.10-r0
2.0.10-r0
mosquitto
Debian:12
before 2.0.10-1
2.0.10-1
mosquitto
Debian:13
before 2.0.10-1
2.0.10-1
mosquitto
Debian:14
before 2.0.10-1
2.0.10-1

History

History
RecordedChangedSources
facts
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-28166 is a medium vulnerability (CVSS 6.5) in Eclipse Mosquitto, published April 7, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 62nd percentile. Fixed in mosquitto 2.0.10-r0.

References

Show 14 moreShow less
MoveEnter Open