Incorrect numeric conversion in Eclipse Foundation paho.mqtt.golang
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 7 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | paho.mqtt.golang (Go MQTT v3.1 library) | up to 1.5.0 | — | No fix listed | CNA |
| — | github.com/eclipse/paho.mqtt.golang (Go) | before 1.5.1 | 1.5.1 | Patch available | GHSA-32fw-gq77-f2f2 |
- paho.mqtt.golang (Go MQTT v3.1 library) VendorEclipse Foundation Affected up to 1.5.0 Fixed in — No fix listed CNA
- github.com/eclipse/paho.mqtt.golang (Go) Vendor— Affected before 1.5.1 Fixed in 1.5.1 Patch available GHSA-32fw-gq77-f2f2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:eclipse:paho_mqtt:*:*:*:*:*:go:*:* | up to 1.5.0 | Vulnerable | Eclipse Foundation |
- cpe:2.3:a:eclipse:paho_mqtt:*:*:*:*:*:go:*:* Versions up to 1.5.0 Vulnerable ·Eclipse Foundation
Remediation
- Fix · GHSA-32fw-gq77-f2f2 github.com/eclipse/paho.mqtt.golang (Go) Fixed in 1.5.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-10543
- 2026-10-03 Alias added: GHSA-32fw-gq77-f2f2
References
Advisory 3
Sources
- CVE-2025-10543 · CVE Program
- CVE-2025-10543 · NVD
- FIRST EPSS
- GHSA-32fw-gq77-f2f2 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-10543 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences