Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-10543

MEDIUM 6.3EPSS 28%

Eclipse Paho Go MQTT may incorrectly encode strings if length exceeds 65535 bytes

Also known as GHSA-32fw-gq77-f2f2, GO-2025-4173

Mitigation

  • Upgrade github.com/eclipse/paho.mqtt.golang to 1.5.1 or later.

Who should check

  • Projects that depend on Go package github.com/eclipse/paho.mqtt.golang (< 1.5.1)
  • Anyone running Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library) <= 1.5.0

Vulnerability facts

Affected
github.com/eclipse/paho.mqtt.golang < 1.5.1
Fixed in
1.5.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
CWE
CWE-681, CWE-197
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/eclipse/paho.mqtt.golang< 1.5.11.5.1osv
Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library)<= 1.5.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-10543. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-10543.md
Affected: github.com/eclipse/paho.mqtt.golang < 1.5.1
Fixed in: 1.5.1

Steps:
1. Search this machine and project for github.com/eclipse/paho.mqtt.golang (Go), Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-10543 being exploited?

There is no confirmed exploitation: CVE-2025-10543 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-10543?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-10543?

github.com/eclipse/paho.mqtt.golang < 1.5.1.

Is there a fix for CVE-2025-10543?

Yes. Fixed in 1.5.1. Upgrade github.com/eclipse/paho.mqtt.golang to 1.5.1 or later.

How do I check if I'm affected by CVE-2025-10543?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors