# CVE-2025-59947: NanoMQ has Buffer Overflow

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:H/SC:L/SI:H/SA: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.67%, higher than 47% of CVEs (2026-11-30)
- Published: 2025-12-15T20:19:17.212Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

NanoMQ is a messaging broker/bus for IoT Edge & SDV. Versions prior to 0.24.4 have a buffer overflow case while the PUBLISH packets trigger both shared subscription and vanila subscription. This is fixed in version 0.24.4. As a workaround, disable shared subscription.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 8.5 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:H/SC:L/SI:H/SA:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/nanomq/nanomq/security/advisories/GHSA-98f4-cmg8-x7f3> (vendor-advisory)
- <https://github.com/nanomq/nanomq/issues/2110> (issue-tracking, patch)
- <https://github.com/nanomq/nanomq/commit/5f5581054bb92f102cf99251e8af2f43763d457b> (patch)

## Sources

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

---

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