Skip to content

Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - #125

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability
Open

Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY]#125
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/eclipse/paho.mqtt.golang v1.5.0v1.5.1 age confidence

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

CVE-2025-10543 / GHSA-32fw-gq77-f2f2

More information

Details

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

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

eclipse/paho.mqtt.golang (github.com/eclipse/paho.mqtt.golang)

v1.5.1

Compare Source

This is a minor release incorporating changes made in the 14 months since v1.5.0 (including updating dependencies, and raising the Go version to 1.24). The changes are relatively minor but address a potential security issue (CVE-2025-10543), possible panic, enable users to better monitor the connection status, and incorporate a few optimisations.

Thanks to those who have provided fixes/enhancements included in this release!

Special thanks to Paul Gerste at Sonar for reporting issue #​730 via the Eclipse security team (fix was implemented in PR #​714 in May, github issue created just prior to this release). This issue arose where a topic > 65535 bytes was passed to the Publish function, due to the way the data was encoded the topic could leak into the message body. Please see issue #​730 or CVE-2025-10543 for further details.

What's Changed

Full Changelog: eclipse-paho/paho.mqtt.golang@v1.5.0...v1.5.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor Author

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/net v0.33.0 -> v0.44.0
golang.org/x/sync v0.7.0 -> v0.17.0

@renovate
renovate Bot requested a review from mtrossbach as a code owner December 2, 2025 17:38
@renovate

renovate Bot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/net v0.33.0 -> v0.44.0
golang.org/x/sync v0.7.0 -> v0.17.0

@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch March 27, 2026 05:36
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 7071ac9 to 03d0002 Compare March 30, 2026 17:30
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Apr 26, 2026
@renovate renovate Bot closed this Apr 26, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Apr 26, 2026
@renovate renovate Bot reopened this Apr 26, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 03d0002 to 2e1d387 Compare April 26, 2026 14:39
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 2e1d387 to da9069d Compare April 27, 2026 22:36
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed May 20, 2026
@renovate renovate Bot closed this May 20, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] May 20, 2026
@renovate renovate Bot reopened this May 20, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from da9069d to 0dce601 Compare May 20, 2026 15:05
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed May 21, 2026
@renovate renovate Bot closed this May 21, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] May 21, 2026
@renovate renovate Bot reopened this May 21, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 0dce601 to 682de6a Compare May 21, 2026 06:00
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Jun 23, 2026
@renovate renovate Bot closed this Jun 23, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Jun 23, 2026
@renovate renovate Bot reopened this Jun 23, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 682de6a to 1c20988 Compare June 23, 2026 21:04
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Aug 17, 2026
@renovate renovate Bot closed this Aug 17, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Aug 17, 2026
@renovate renovate Bot reopened this Aug 17, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 1c20988 to 389d3c7 Compare August 17, 2026 22:43
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Aug 31, 2026
@renovate renovate Bot closed this Aug 31, 2026
@renovate renovate Bot changed the title Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] - autoclosed Update module github.com/eclipse/paho.mqtt.golang to v1.5.1 [SECURITY] Aug 31, 2026
@renovate renovate Bot reopened this Aug 31, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-eclipse-paho.mqtt.golang-vulnerability branch 2 times, most recently from 389d3c7 to 27dbd82 Compare August 31, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants