# CVE-2024-35512: hmq v1.5.5 is vulnerable to Denial of Service (DoS) due to a Null Pointer Exception.

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-05-29T16:55:34.086Z
- Modified: 2026-06-17T07:34:57.750Z
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

hmq v1.5.5 is vulnerable to Denial of Service (DoS) due to a Null Pointer Exception. A remote attacker can trigger a broker crash by sending a specially crafted MQTT UNSUBSCRIBE packet with an illegal control character Topic. The failure to properly validate this field leads to a null pointer dereference, resulting in the immediate termination of the hmq process.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fhmq hmq: 1.5.5

## References

- <https://gist.github.com/pengwGit/6ccca73a5acf91f31ff0d4185b15a3ea>

## Sources

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

---

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