CVE-2021-28166: eclipse mosquitto NULL Pointer Dereference
Vulnerability summary
CVE-2021-28166 is a medium (CVSS 6.5) NULL Pointer Dereference vulnerability in eclipse mosquitto. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 63% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 07-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.97%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.97% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- mosquitto≥ 2.0.0, < 2.0.10-r0
Debian1 product
- mosquitto< 2.0.10-1
Eclipse1 product
- mosquitto≥ 2.0.0, ≤ 2.0.9
The eclipse foundation1 product
- eclipse mosquitto≥ 2.0, < unspecified | ≥ unspecified, ≤ 2.0.9
Ubuntu1 product
- mosquitto< 2.0.11-1ubuntu1
5 vendors · 5 products
References
5 links- bugs.eclipse.org/bugs/show_bug.cgi?id=572608X Refsource CONFIRMREPORTIssue TrackingPatchVendor Advisory