CVE-2025-10543
ADVISORY - githubSummary
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).
Common Weakness Enumeration (CWE)
Numeric Truncation Error
GitHub
-
CVSS SCORE
6.3medium| Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
|---|---|---|---|---|---|
| github.com/eclipse/paho.mqtt.golang | golang | - | - | <1.5.1 | 1.5.1 |
| github.com/eclipse/paho.mqtt.golang | golang | - | - | <0.0.0-20250916040900-b30523793968 | 0.0.0-20250916040900-b30523793968 |
CVSS:4 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
The successful attack depends on the presence of specific deployment and execution conditions of the vulnerable system that enable the attack. These include: A race condition must be won to successfully exploit the vulnerability. The successfulness of the attack is conditioned on execution conditions that are not under full control of the attacker. The attack may need to be launched multiple times against a single target before being successful. Network injection. The attacker must inject themselves into the logical network path between the target and the resource requested by the victim (e.g. vulnerabilities requiring an on-path attacker).
The attacker is unauthenticated prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
The vulnerable system can be exploited without interaction from any human user, other than the attacker. Examples include: a remote attacker is able to send packets to a target system a locally authenticated attacker executes code to elevate privileges.
There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is limited. The information disclosure does not cause a direct, serious loss to the Vulnerable System.
There is no loss of confidentiality within the Subsequent System or all confidentiality impact is constrained to the Vulnerable System.
There is no loss of integrity within the Vulnerable System.
There is no loss of integrity within the Subsequent System or all integrity impact is constrained to the Vulnerable System.
There is no impact to availability within the Vulnerable System.
There is no impact to availability within the Subsequent System or all availability impact is constrained to the Vulnerable System.
NIST
CVSS SCORE
6.3mediumGoLang
-
Red Hat
3.9
CVSS SCORE
6.5mediumChainguard
CGA-2f2p-4h4g-6hv2
-
Chainguard
CGA-2qq2-qg29-27pg
-
Chainguard
CGA-3wh3-cp4c-56qp
-
Chainguard
CGA-4472-mm77-597x
-
Chainguard
CGA-4j8c-g5fw-r58q
-
Chainguard
CGA-5cq8-g9rg-87wf
-
Chainguard
CGA-5x23-mcrr-5fh7
-
Chainguard
CGA-65j4-q57h-xp3j
-
Chainguard
CGA-6mg5-2h6v-752q
-
Chainguard
CGA-6xhp-c56v-grvf
-
Chainguard
CGA-793v-7x28-mf8q
-
Chainguard
CGA-7w4m-vj4r-w396
-
Chainguard
CGA-8cgv-7ghv-58jc
-
Chainguard
CGA-c85g-cp6g-563r
-
Chainguard
CGA-c8h8-px2x-299h
-
Chainguard
CGA-f45r-q3mm-qrfg
-
Chainguard
CGA-f779-3c43-q4v3
-
Chainguard
CGA-fq7w-7j8c-wcq5
-
Chainguard
CGA-g2jq-pfmr-c66h
-
Chainguard
CGA-g5fh-gpqq-vh67
-
Chainguard
CGA-g97w-436x-wf8m
-
Chainguard
CGA-hhpp-4g7r-64rf
-
Chainguard
CGA-hvhp-c3p4-996x
-
Chainguard
CGA-m88p-qp23-p8cw
-
Chainguard
CGA-mr3p-m2xf-3837
-
Chainguard
CGA-q6cf-xh47-vg82
-
Chainguard
CGA-qrc4-92gc-prxr
-
Chainguard
CGA-v977-gcp2-xfgg
-
Chainguard
CGA-w5qq-w6wj-76wh
-
Chainguard
CGA-wqx7-cq72-qjpm
-
Chainguard
CGA-xw3j-99x5-rcmv
-
minimos
MINI-3w7p-6j6p-cvr4
-
minimos
MINI-4gp3-cm78-q8w6
-
minimos
MINI-gjm4-h254-9hw5
-
minimos
MINI-j2m8-jx6w-8mpw
-
minimos
MINI-r4w5-qh4w-rfcg
-
minimos
MINI-r849-qfww-22m3
-
minimos
MINI-wcj8-rx5p-vm46
-
minimos
MINI-wp34-8ff5-c6fm
-