# CVE-2021-28166: 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 t…

- Severity: Medium 6.5 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-02)
- Published: 2021-04-07T18:50:19.000Z
- Modified: 2026-06-17T03:45:56.200Z
- Weaknesses: CWE-476
- Assigned by: eclipse

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

(As written by CVE List.)

## Affected

- The Eclipse Foundation Eclipse Mosquitto: from 2.0 before unspecified; from unspecified up to 2.0.9
- eclipse mosquitto: from 2.0.0 up to 2.0.9

## Every score

- eclipse: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://bugs.eclipse.org/bugs/show_bug.cgi?id=572608> (issue-tracking, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-28166](https://www.cve.org/CVERecord?id=CVE-2021-28166), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-28166](https://nvd.nist.gov/vuln/detail/CVE-2021-28166), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28166 · Whole record: https://cve.day/CVE-2021-28166.json · Rebuilt by cve.day 2026-11-25T22:58:00.664Z
