CVE Database›Document archive›CVE-2025-10543

CVE-2025-10543

paho.mqtt.golang: paho.mqtt.golang: Integer Overflow in UTF-8 String Encoding

Loading…

Severity

Moderate

Red Hat Product Security

6.5

CVSS 3.1

Review impact separately from score.

Published · December 2, 2025

Updated · June 30, 2026

Description

A flaw was found in paho.mqtt.golang. This vulnerability allows data leakage and packet corruption via malformed UTF-8 (Unicode Transformation Format - 8-bit) encoded strings exceeding 65535 bytes due to an integer overflow.

Statement

This vulnerability is rated Moderate for Red Hat. It affects applications utilizing the paho.mqtt.golang library that process UTF-8 encoded strings exceeding 65535 bytes. This uncommon scenario can lead to data leakage within MQTT packets, such as a topic inadvertently appearing in the message body.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CWE-681 · Incorrect Conversion between Numeric Types