# CVE-2025-59946: NanoMQ has a Use After Free vulnerability via sub info list

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-27T00:40:51.122Z
- Modified: 2026-10-13T09:10:00.323Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

NanoMQ MQTT Broker (NanoMQ) is an Edge Messaging Platform. Prior to version 0.24.2, there is a classical data racing issue about sub info list which could result in heap use after free crash. This issue has been patched in version 0.24.2.

(As written by CVE List.)

## Affected

- nanomq nanomq: < 0.24.4
- emqx nanomq: before 0.24.4

## References

- <https://github.com/nanomq/nanomq/issues/1863> (exploit, issue-tracking)
- <https://github.com/nanomq/nanomq/security/advisories/GHSA-xg37-23w7-72p5> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-59946](https://www.cve.org/CVERecord?id=CVE-2025-59946), CVE Terms of Use, modified 2025-12-29
- NVD: [CVE-2025-59946](https://nvd.nist.gov/vuln/detail/CVE-2025-59946), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-59946 · Whole record: https://cve.day/CVE-2025-59946.json · Rebuilt by cve.day 2026-11-25T22:59:09.957Z
