CVE-2024-10525: Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

Published Oct 30, 2024
·
Updated

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 onsubscribe callback. This affects the mosquittosub and mosquittorr clients.

Affected Software

3 affected componentsFixes available
Eclipse Mosquitto>=1.3.2<=2.0.18
Eclipse Mosquitto>=1.3.2<2.0.19
debian/mosquitto<=2.0.11-1+deb11u1, <=2.0.11-1.2+deb12u1
2.0.11-1+deb11u22.0.21-1

Event History

Oct 30, 2024
CVE Published
via MITRE·11:41 AM
Data Sourced
via MITRE·11:41 AM
DescriptionWeakness
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 25, 2025
Data Sourced
via Ubuntu·07:53 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-10525?

CVE-2024-10525 is considered a medium severity vulnerability due to the potential for out-of-bounds memory access.

2

How do I fix CVE-2024-10525?

To fix CVE-2024-10525, upgrade Eclipse Mosquitto to version 2.0.19 or later.

3

What versions of Eclipse Mosquitto are affected by CVE-2024-10525?

CVE-2024-10525 affects Eclipse Mosquitto versions from 1.3.2 through 2.0.18.

4

What type of attack does CVE-2024-10525 enable?

CVE-2024-10525 allows an attacker to exploit a malicious broker's crafted SUBACK packet to cause a client to make out-of-bounds memory access.

5

Is the eclipse mosquitto_sub client impacted by CVE-2024-10525?

Yes, the mosquitto_sub client using libmosquitto is impacted by CVE-2024-10525.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203