cve.bz

CVE-2024-10525 eclipse mosquitto: Out-of-bounds Write

7.2 highExploit referenceEPSS 59%Fix available

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

On this page
In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.

Severity

CVSS 4.0

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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
59% (unchanged from 59% a week ago; 59% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th 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: yes · Technical impact: partial, assessed 2024-10-30. 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-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-10525 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10525?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10525?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-10525 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 CNA's record in the CVE List.

ProductAffected
Eclipse Foundation mosquittofrom 1.3.2 through 2.0.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mosquitto2.0.11-1+deb11u2DLA-4059-1
Debian12mosquitto2.0.11-1.2+deb12u2DEBIAN-CVE-2024-10525
Debian13, 14mosquitto2.0.20-1DEBIAN-CVE-2024-10525
Ubuntu22.04:LTSmosquitto2.0.11-1ubuntu1.2UBUNTU-CVE-2024-10525 USN-7441-1
UbuntuPro:14.04:LTSmosquitto0.15-2+deb7u3ubuntu0.1+esm1UBUNTU-CVE-2024-10525 USN-7441-1
UbuntuPro:16.04:LTSmosquitto1.4.8-1ubuntu0.16.04.7+esm2UBUNTU-CVE-2024-10525 USN-7441-1
UbuntuPro:18.04:LTSmosquitto1.4.15-2ubuntu0.18.04.3+esm2UBUNTU-CVE-2024-10525 USN-7441-1
UbuntuPro:20.04:LTSmosquitto1.6.9-1ubuntu0.1~esm2UBUNTU-CVE-2024-10525 USN-7441-1
UbuntuPro:24.04:LTSmosquitto2.0.18-1ubuntu0.1~esm1UBUNTU-CVE-2024-10525 USN-7441-1
openSUSELeap 16.0mosquitto2.0.23-bp160.1.1openSUSE-SU-2026:20260-1
Alpaquita23mosquittono fix listedBELL-CVE-2024-10525
Alpaquitastreammosquitto2.0.19-r0BELL-CVE-2024-10525

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

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Satellite 6mosquittoWill not fix

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

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON