CVEfocus › CVE database › CVE-2025-10543

CVE-2025-10543

CVSS 6.3 MediumEPSS 0.4% (higher than 28% of CVEs)Published 2025-12-02Updated 2025-12-02Assigner: eclipse

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

CWE-197CWE-681

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 10yggdrasilFix pending
Fix deferred
Red Hat Enterprise Linux 10yggdrasil-develFix pending
Fix deferred
Red Hat Enterprise Linux 9rhcFix pending
Fix deferred
Red Hat Enterprise Linux 9rhc-develFix pending
Fix deferred
Red Hat Enterprise Linux 8rhcFix pending
Fix deferred
Red Hat Enterprise Linux 7rhcWill not fix
Out of support scope
Go librarygithub.com/eclipse/paho.mqtt.golangFixed1.5.1GHSA-32fw-gq77-f2f2

What the vendor says

As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.