Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. mosquitto
  4. ›
  5. CVE-2024-10525

CVE-2024-10525: Out-of-bounds Write

October 30, 2024 (updated April 8, 2025)

In Eclipse Mosquitto, from version 1.3.2 through 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.

References

  • gitlab.com/gitlab-org/security-products/gemnasium-db/-/issues/319
  • nvd.nist.gov/vuln/detail/CVE-2024-10525

Code Behaviors & Features

Detect and mitigate CVE-2024-10525 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions from 1.3.2 to 2.0.18

Fixed versions

  • 2.0.19

Solution

Upgrade to version 2.0.19 higher.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-122: Heap-based Buffer Overflow
  • CWE-787: Out-of-bounds Write

Source file

conan/mosquitto/CVE-2024-10525.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:59 +0000.