CVE-2025-10543: Medium severity Eclipse Paho Go MQTT vulnerability

Published Dec 2, 2025
·
Updated

In Eclipse Paho Go MQTT v3.1 library (paho.mqtt.golang) versions <=1.5.0 UTF-8 encoded strings, passed into the library, may be incorrectly encoded if their length exceeds 65535 bytes. This may lead to unexpected content in packets sent to the server (for example, part of an MQTT topic may leak into the message body in a PUBLISH packet).

The issue arises because the length of the data passed in was converted from an int64/int32 (depending upon CPU) to an int16 without checks for overflows. The int16 length was then written, followed by the data (e.g. topic). This meant that when the data (e.g. topic) was over 65535 bytes then the amount of data written exceeds what the length field indicates. This could lead to a corrupt packet, or mean that the excess data leaks into another field (e.g. topic leaks into message body).

Affected Software

3 affected componentsFixes available
Eclipse Paho Go MQTT<=1.5.0
go/github.com/eclipse/paho.mqtt.golang<1.5.1
1.5.1
Eclipse Paho Mqtt Go<=1.5.0

Event History

Dec 2, 2025
CVE Published
via MITRE·08:18 AM
Data Sourced
via MITRE·08:18 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
Affected Software
Advisory Published
via GitHub·09:30 AM
Data Sourced
via GitHub·09:30 AM
DescriptionWeaknessAffected 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-2025-10543?

CVE-2025-10543 has been classified as a medium severity vulnerability due to potential data leakage risks.

2

How do I fix CVE-2025-10543?

To mitigate CVE-2025-10543, upgrade the Eclipse Paho Go MQTT library to versions later than 1.5.0.

3

What impact does CVE-2025-10543 have on affected systems?

CVE-2025-10543 may lead to unexpected content in MQTT packets, potentially causing data leakage.

4

Which versions of Eclipse Paho Go MQTT are affected by CVE-2025-10543?

Eclipse Paho Go MQTT versions 1.5.0 and earlier are affected by CVE-2025-10543.

5

Is there a workaround for CVE-2025-10543?

Currently, the recommended solution for CVE-2025-10543 is to upgrade to a patched version of the library.

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