CVE-2025-10543 Eclipse Paho Go MQTT may incorrectly encode strings if length exceeds 65535 bytes
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
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).
Upgrade path
25 packages: 6 fixed, 1 partially fixed, 18 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhc(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/rhc(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/rhel10/rhel-bootc(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-amd-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-aws-nvidia-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-azure-amd-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-azure-nvidia-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-gcp-nvidia-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-intel-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai1/bootc-nvidia-rhel9(Red Hat enterprise_linux_ai 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoso-operators/openstack-operator-bundle(Red Hat openstack 18.0) | All versions | No fix listed | No fix yet |
| redhat/rhoso-operators/openstack-rhel9-operator(Red Hat openstack 18.0) | All versions | No fix listed | No fix yet |
| redhat/rhoso-operators/rabbitmq-cluster-rhel9-operator(Red Hat openstack 18.0) | All versions | No fix listed | No fix yet |
| redhat/yggdrasil(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| azure linux telegraf(Azure Linux 3.0) | < 1.31.0-12; All versions | 1.31.0-12 | Partially fixed |
| azure linux influxdb(Azure Linux 3.0) | < 2.7.5-10 | 2.7.5-10 | Fixed |
| cbl-mariner influxdb(CBL-Mariner 2.0) | < 2.6.1-26; < 2.6.1-27 | 2.6.1-26, 2.6.1-27 | Fixed |
| cbl-mariner telegraf(CBL-Mariner 2.0) | < 1.29.4-18 | 1.29.4-18 | Fixed |
| Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library) | <= 1.5.0 | after 1.5.0 | Fixed |
| eclipse github.com/eclipse/paho.mqtt.golang(Go) | < 1.5.1 | 1.5.1 | Fixed |
| eclipse paho mqtt | <= 1.5.0 | after 1.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| eclipse github.com/eclipse/paho.mqtt.golang(Go) | < 1.5.1 | 1.5.1 |
| cbl-mariner influxdb(CBL-Mariner:2.0) | < 2.6.1-26 | 2.6.1-26 |
| azure linux telegraf(Azure Linux:3.0) | All versions | No fix listed |
| azure linux telegraf(Azure Linux:3.0) | < 1.31.0-12 | 1.31.0-12 |
| cbl-mariner influxdb(CBL-Mariner:2.0) | < 2.6.1-27 | 2.6.1-27 |
| cbl-mariner telegraf(CBL-Mariner:2.0) | < 1.29.4-18 | 1.29.4-18 |
| azure linux influxdb(Azure Linux:3.0) | < 2.7.5-10 | 2.7.5-10 |
| Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library) | <= 1.5.0 | No fix listed |
| redhat/rhel10/rhel-bootc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/yggdrasil(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/rhc(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/rhc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/rhc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhelai1/bootc-amd-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai1/bootc-aws-nvidia-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai1/bootc-azure-amd-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai1/bootc-azure-nvidia-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai1/bootc-gcp-nvidia-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai1/bootc-intel-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai1/bootc-nvidia-rhel9(Red Hat:enterprise_linux_ai:1) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoso-operators/openstack-operator-bundle(Red Hat:openstack:18.0) | All versions | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoso-operators/openstack-rhel9-operator(Red Hat:openstack:18.0) | All versions | No fix listed |
| redhat/rhoso-operators/rabbitmq-cluster-rhel9-operator(Red Hat:openstack:18.0) | All versions | No fix listed |
| eclipse paho mqtt | <= 1.5.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- github.com patch
- github.com vendor-advisory
- github.com product
- gitlab.eclipse.org issue-tracking vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2418268 issue-tracking
- www.cve.org