cve.bz

CVE-2024-8376 eclipse mosquitto: Use After Free

7.2 highEPSS 0.7%Fix available

High (7.2) in eclipse mosquitto. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.2 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-401 Missing Release of Memory after Effective Lifetime
CWE-416 Use After Free
CWE-755 Improper Handling of Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-8376 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8376?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8376?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8376 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
eclipse:mosquittobefore 2.0.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12mosquitto2.0.11-1.2+deb12u2DEBIAN-CVE-2024-8376
Debian13, 14mosquitto2.0.20-1DEBIAN-CVE-2024-8376
Ubuntu22.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 3 moremosquittono fix listedUBUNTU-CVE-2024-8376
Red Hatsatellite:6.14::el8foreman, foreman-cli, foreman-ec2 and 11 more0:3.7.0.14-1.el8satRHSA-2024:8718
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8mosquitto, mosquitto-debuginfo, mosquitto-debugsource0:2.0.19-1.el8satRHSA-2024:8718
Red Hatsatellite:6.15::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.9.1.11-1.el8satRHSA-2024:8719
Red Hatsatellite:6.15::el8, satellite_capsule:6.15::el8mosquitto, mosquitto-debuginfo, mosquitto-debugsource0:2.0.19-1.el8satRHSA-2024:8719
Red Hatsatellite:6.16::el8ansiblerole-foreman_scap_client, rubygem-hammer_cli_foreman_templates, rubygem-hammer_cli_foreman_remote_execution0:0.3.0-1.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8postgresql-evr0:0.0.2-3.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8python-websockify, python3-websockify0:0.10.0-3.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8rubygem-azure_mgmt_compute0:0.22.0-1.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8rubygem-azure_mgmt_network0:0.26.1-2.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8rubygem-azure_mgmt_resources0:0.18.2-1.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8rubygem-azure_mgmt_storage0:0.23.0-1.el8satRHSA-2024:8906
Red Hatsatellite:6.16::el8rubygem-azure_mgmt_subscriptions0:0.18.5-1.el8satRHSA-2024:8906
196 more for Red Hat in the JSON and on Red Hat's page.
Alpaquita23, streammosquittono fix listedBELL-CVE-2024-8376

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Satellite 6.14 for RHEL 8mosquitto-0:2.0.19-1.el8satFixed 2024-10-31RHSA-2024:8718
Red Hat Satellite 6.15 for RHEL 8mosquitto-0:2.0.19-1.el8satFixed 2024-10-31RHSA-2024:8719
Red Hat Satellite 6.16 for RHEL 8mosquitto-0:2.0.19-1.el8satFixed 2024-11-05RHSA-2024:8906
Red Hat Satellite 6.16 for RHEL 9mosquitto-0:2.0.19-1.el9satFixed 2024-11-05RHSA-2024:8906
Red Hat Satellite 6satellite-capsule:el8/mosquittoAffected
Red Hat Satellite 6satellite:el8/mosquittoAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-8376.

References

Check your stackJSON