Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-10543: CWE-681 Incorrect Conversion between Numeric Types in Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library)

0
Medium
VulnerabilityCVE-2025-10543cvecve-2025-10543cwe-681cwe-197
Published: Tue Dec 02 2025 (12/02/2025, 08:18:16 UTC)
Source: CVE Database V5
Vendor/Project: Eclipse Foundation
Product: paho.mqtt.golang (Go MQTT v3.1 library)

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

Technical Details

Data Version
5.2
Assigner Short Name
eclipse
Date Reserved
2025-09-16T07:59:33.051Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 692ef09b5ae7112264d5b098

Added to database: 12/2/2025, 1:58:51 PM

Last updated: 12/2/2025, 1:58:58 PM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats