Skip to content

[Eclipse Mosquito] Heap Buffer Overflow in my_subscribe_callback function

The Eclipse Foundation is a Common Vulnerabilities and Exposures (CVE) Numbering Authority. This issue it used to request and track the progress of the assignment of a CVE for a vulnerability in the project code for an Eclipse open source project.

Basic information

Project name: Eclipse Mosquitto

Project id: iot.mosquitto

Request type: publication

Versions affected: [1.3.2, 2.0.18]

Common Weakness Enumeration:

Common Vulnerability Scoring System: {CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N}

Summary:

In Eclipse Mosquitto versions 1.3.2 to 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.

Credits: Qingpeng Du

Links:

Tracking

This section will completed by the project team.

  • Reserve an entry only
  • We're ready for this issue to be reported to the central authority (i.e., make this public now)
  • (when applicable) The GitHub Security Advisory is ready to be published now

Note that for those projects that host their repositories on GitHub, the use of GitHub Security Advisories is recommended but is not required.

This section will be completed by the EMO.

CVE: {cve}

  • All required information is provided
  • CVE Assigned
  • Pushed to Mitre
  • Accepted by Mitre
Edited by Ioana Iliescu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information