BreachSpiderVerified, not vibes

CVE-2024-8376 in Eclipse Mosquitto

High 7.5

In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap-use-after-free by sending specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UNSUBSCRIBE" and "PUBLISH" packets.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
CVSS v47.2
EPSS1.4%
EPSS percentile72th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Eclipse Mosquitto < 2.0.19

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap-use-after-free by sending specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UNSUBSCRIBE" and "PUBLISH" packets.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-8376
BreachSpider IDBS-2024-GLOBAL-046515-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2024-10-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-401: Memory Leak

Software does not release allocated memory after use, causing progressive consumption until failure.

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

CWE-755: CWE-755

Analysis AI-written, not human-reviewed

A vulnerability in Eclipse Mosquitto up to version 2.0.18a allows attackers to cause memory leaks, segmentation faults, or heap-use-after-free conditions through specific MQTT packet sequences.

The attack is executed by sending a crafted sequence of MQTT packets including 'CONNECT', 'DISCONNECT', 'SUBSCRIBE', 'UNSUBSCRIBE', and 'PUBLISH' to the Mosquitto broker. This can lead to memory management issues such as leaks, crashes, or improper memory access.

Questions

What is CVE-2024-8376?

A vulnerability in Eclipse Mosquitto up to version 2.0.18a allows attackers to cause memory leaks, segmentation faults, or heap-use-after-free conditions through specific MQTT packet sequences.

What is the CVSS score for CVE-2024-8376?

CVE-2024-8376 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.4%.

Is CVE-2024-8376 actively exploited?

No confirmed active exploitation of CVE-2024-8376 as of 2026-09-25.

How do I remediate CVE-2024-8376?

Priority: HIGH. Advisory: https://gitlab.eclipse.org/security/cve-assignement/-/issues/26

What systems are affected by CVE-2024-8376?

CVE-2024-8376 affects Eclipse Mosquitto.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Eclipse","product":"Mosquitto","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.