# CVE-2021-34431: In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to th…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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): 1.07%, higher than 65% of CVEs (2026-12-01)
- Published: 2021-07-22T13:45:13.000Z
- Modified: 2026-06-17T03:55:51.327Z
- Weaknesses: CWE-401
- Assigned by: eclipse

## Description

In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.

(As written by CVE List.)

## Affected

- The Eclipse Foundation Eclipse Mosquitto: from 1.6 before unspecified; from unspecified up to 2.0.10
- eclipse mosquitto: from 1.6 up to 2.0.10

## Every score

- 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=573191> (mailing-list, vendor-advisory)

## Sources

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

---

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