Client crash via zero-reason-code SUBACK handling
Published Oct 30, 2024 · Updated Nov 3, 2025
Out-of-bounds memory access in Eclipse Mosquitto 1.3.2 through 2.0.18 allows remote attackers to crash affected MQTT clients via SUBACK. handle__suback allocates a zero-length granted_qos array for a SUBACK with no reason codes and passes it to on_subscribe, where my_subscribe_callback reads the absent first element. The attack requires an affected mosquitto_sub or mosquitto_rr client to subscribe through an attacker-controlled broker, and the demonstrated consequence is client termination.
Summary
What happened
Out-of-bounds memory access in Eclipse Mosquitto 1.3.2 through 2.0.18 allows remote attackers to crash affected MQTT clients via SUBACK. handle__suback allocates a zero-length granted_qos array for a SUBACK with no reason codes and passes it to on_subscribe, where my_subscribe_callback reads the absent first element. The attack requires an affected mosquitto_sub or mosquitto_rr client to subscribe through an attacker-controlled broker, and the demonstrated consequence is client termination.
The record
- CVE
- CVE-2024-10525
- Published
- Oct 30, 2024
- Updated
- Nov 3, 2025
- Vendor
- The Eclipse Foundation
- Product
- Eclipse Mosquitto
- Classifications
- CWE-122, T1499
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 30, 2024CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.3.2 <=2.0.18
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Malformed SUBACK reproduction in Eclipse report 190proof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo