CVE-2024-10525

Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

Published Oct 30, 2024 CVSS 4.0 · 7.2 High EPSS 59.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4059-1 mosquitto security update
EUVD EUVD EUVD-2024-33469 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.
Ubuntu USN Ubuntu USN USN-7441-1 Eclipse Mosquitto vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.0028}

epss

{'score': 0.00559}

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse mosquitto
Weaknesses CWE-787
CPEs cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*
Vendors & Products Eclipse
Eclipse mosquitto
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H'}

Type Values Removed Values Added
First Time appeared Eclipse Foundation
Eclipse Foundation mosquitto
CPEs cpe:2.3:a:eclipse_foundation:mosquitto:*:*:*:*:*:*:*:*
Vendors & Products Eclipse Foundation
Eclipse Foundation mosquitto
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 7.2, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Nov 3, 2025, 8:36 PM
Reserved
Oct 30, 2024, 9:50 AM
Status
Modified
Published
Oct 30, 2024, 12:15 PM
Modified
Jun 17, 2026, 6:55 AM
Severity
Important
Public date
Oct 30, 2024, 11:41 AM