{"id":"CVE-2024-10525","summary":"Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback","details":"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.","modified":"2026-11-11T02:47:33.669108044Z","published":"2024-10-30T11:41:08.946Z","related":["openSUSE-SU-2026:20260-1"],"database_specific":{"cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10525.json","cna_assigner":"eclipse"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10525.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10525"},{"type":"REPORT","url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/190"},{"type":"FIX","url":"https://github.com/eclipse-mosquitto/mosquitto/commit/8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c"},{"type":"PACKAGE","url":"https://github.com/eclipse/mosquitto"},{"type":"ARTICLE","url":"https://mosquitto.org/blog/2024/10/version-2-0-19-released/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-mosquitto/mosquitto","events":[{"introduced":"aa86554592d0f647b81b13f2261de9e0a1db328b"},{"fixed":"5eb40ee3d691fb3c2dc222685e7ffcf6e6a69a79"},{"fixed":"8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.3.2"},{"fixed":"2.0.19"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*"},{"range":[{"fixed":"8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10525.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}