CVE-2025-10543Eclipse Paho Mqtt
Medium 6.3 No auth needed
Follow: this CVE · Eclipse · Eclipse Paho Mqtt We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 28
- Auth required
- No
- Published
- Dec 2, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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).
What to do
- Apply the vendor's security update for Paho Mqtt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/eclipse/paho.mqtt.golang |
< 1.5.1 |
1.5.1 |
go get github.com/eclipse/paho.mqtt.golang@v1.5.1 |
| Go | github.com/eclipse/paho.mqtt.golang |
< 1.5.1 |
1.5.1 |
go get github.com/eclipse/paho.mqtt.golang@v1.5.1 |
Per OSV / GitHub Advisories (GHSA-32fw-gq77-f2f2, GO-2025-4173). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eclipse | paho_mqtt | ≤ 1.5.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0037-1 · Jan 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- gitlab.eclipse.org Issue Tracking Vendor Advisory