CVE-2021-34431
CVE-2021-34431 is a medium-severity vulnerability in Eclipse Mosquitto with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-401.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (62nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-401
- Affected product: Eclipse Mosquitto
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.
- How severe is CVE-2021-34431?
- CVE-2021-34431 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-34431 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (62nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-34431?
- CVE-2021-34431 affects Eclipse Mosquitto. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-34431?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-34431 published?
- CVE-2021-34431 was published on 2021-07-22 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*
More vulnerabilities in Eclipse Mosquitto
- CVE-2024-10525 — Critical (CVSS 9.8): In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no…
- CVE-2018-12551 — High (CVSS 8.1): When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any…
- CVE-2018-12550 — High (CVSS 8.1): When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file, and that ACL file is empty,…
- CVE-2024-8376 — High (CVSS 7.5): In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or…
- CVE-2023-5632 — High (CVSS 7.5): In Eclipse Mosquito before and including 2.0.5, establishing a connection to the mosquitto server without sending data…
- CVE-2023-28366 — High (CVSS 7.5): The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a…
All CVEs affecting Eclipse Mosquitto →
Other CWE-401 (Missing Release of Memory after Effective Lifetime) vulnerabilities
- CVE-2026-46289 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: lib/scatterlist: fix length calculations in…
- CVE-2022-0742 — Critical (CVSS 9.1): Memory leak in icmp6 implementation in Linux Kernel 5.13+ allows a remote attacker to DoS a host by making it go…
- CVE-2024-25450 — High (CVSS 8.8): imlib2 v1.9.1 was discovered to mishandle memory allocation in the function init_imlib_fonts().
- CVE-2023-33718 — High (CVSS 8.8): mp4v2 v2.1.3 was discovered to contain a memory leak via MP4File::ReadString() at mp4file_io.cpp
- CVE-2021-40633 — High (CVSS 8.8): A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote attackers trigger an out of…
- CVE-2021-3492 — High (CVSS 8.8): Shiftfs, an out-of-tree stacking file system included in Ubuntu Linux kernels, did not properly handle faults occurring…
Browse all CWE-401 (Missing Release of Memory after Effective Lifetime) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 182.95.185.158 (ipv4-addr)
- 182.95.101.182 (ipv4-addr)
- 182.76.86.130 (ipv4-addr)
- 128.185.201.170 (ipv4-addr)
- 125.19.157.158 (ipv4-addr)
- 27.123.111.110 (ipv4-addr)
- 182.95.48.154 (ipv4-addr)
- 182.95.228.106 (ipv4-addr)