CVE-2025-10543: eclipse foundation paho.mqtt.golang (go mqtt v3.1 library) Numeric Truncation Error
Vulnerability summary
CVE-2025-10543 is a medium (CVSS 6.3) Numeric Truncation Error vulnerability in eclipse foundation paho.mqtt.golang (go mqtt v3.1 library). EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 10Timeline
- 02-12-2025PublishedVulnerability first disclosed.
- 02-12-2025Last modifiedVulnerability information updated.
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).
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · GoEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
0.00 pp
From 0.23% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-197Numeric Truncation ErrorTruncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
- CWE-681Incorrect Conversion between Numeric TypesWhen converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
Affected systems
Chainguard124 products
- agentbeat< 9.2.2-r2
- agentbeat-fips< 9.2.2-r2
- auditbeat-8.17< 8.17.10-r5
- auditbeat-8.17-oci-entrypoint< 8.17.10-r5
- auditbeat-8.18< 8.18.8-r5
Wolfi5 products
- bento< 1.13.1-r0
- bento-compat< 1.13.1-r0
- falcosidekick< 2.32.0-r3
- minio< 0.20251015.172955-r2
- minio-iamguarded-2025-compat< 0.20251015.172955-r2
Eclipse1 product
- paho_mqtt≤ 1.5.0
Eclipse foundation1 product
Github.com/eclipse1 product
- paho.mqtt.golang< 1.5.1
5 vendors · 132 products
References
8 links- gitlab.eclipse.org/security/vulnerability-reports/-/issues/254REPORTWEBIssue TrackingVendor Advisory