Unauthenticated crash via crafted MQTT packet
Published May 29, 2024 · Updated Feb 13, 2025
NULL pointer dereference in Cesanta Mongoose commit b316989 allows remote attackers to crash embedded applications via a crafted MQTT packet. The scpy function in src/fmt.c dereferences a NULL pointer while processing attacker-controlled MQTT data instead of rejecting the malformed input. Any application embedding the affected commit and exposing its MQTT handling to untrusted network traffic can be terminated, interrupting the service it provides.
Summary
What happened
NULL pointer dereference in Cesanta Mongoose commit b316989 allows remote attackers to crash embedded applications via a crafted MQTT packet. The scpy function in src/fmt.c dereferences a NULL pointer while processing attacker-controlled MQTT data instead of rejecting the malformed input. Any application embedding the affected commit and exposing its MQTT handling to untrusted network traffic can be terminated, interrupting the service it provides.
The record
- CVE
- CVE-2024-35492
- Published
- May 29, 2024
- Updated
- Feb 13, 2025
- Vendor
- Cesanta
- Product
- Mongoose
- Classifications
- CWE-476, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 29, 2024CVE publishedPublication date reported by the CVE source.
- Feb 13, 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=b316989
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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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