CWE
122 787
Advisory Published
Updated

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

First published: Wed 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 on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.

Credit: emo@eclipse.org

Affected SoftwareAffected VersionHow to fix
TIBCO Messaging - Eclipse Mosquitto Distribution - Core>=1.3.2<2.0.19
TIBCO Messaging - Eclipse Mosquitto Distribution - Core>=1.3.2<=2.0.18

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

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

  • How do I fix CVE-2024-10525?

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203