# CVE-2024-10525: Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

- Severity: High 7.2 (CVSS:4.0, scored by eclipse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 59.2%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-30T11:41:08.946Z
- Modified: 2026-06-17T06:55:51.720Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: eclipse

## Description

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.

(As written by CVE List.)

## Affected

- mosquitto: from 1.3.2 up to 2.0.18
- eclipse_foundation mosquitto: from 1.3.2 up to 2.0.18
- eclipse mosquitto: from 1.3.2 before 2.0.19

## Every score

- eclipse: CVSS:4.0 7.2 High `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/190> (exploit, issue-tracking, vendor-advisory)
- <https://mosquitto.org/blog/2024/10/version-2-0-19-released/> (release-notes)
- <https://github.com/eclipse-mosquitto/mosquitto/commit/8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html>

## Sources

- CVE List: [CVE-2024-10525](https://www.cve.org/CVERecord?id=CVE-2024-10525), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2024-10525](https://nvd.nist.gov/vuln/detail/CVE-2024-10525), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10525 · Whole record: https://cve.day/CVE-2024-10525.json · Rebuilt by cve.day 2026-11-25T22:58:47.526Z
