# CVE-2026-95847: Moquette client IDs can cause cross-session H2 durable-queue corruption

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- 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.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T16:11:18.000Z
- Modified: 2026-10-19T19:30:12.063Z
- Also known as: GHSA-5f42-97gr-vfhq
- Related: CVE-2026-85724, CVE-2026-95842, CVE-2026-95843, CVE-2026-95844, CVE-2026-95845, CVE-2026-95846, CVE-2026-95848
- Weaknesses: CWE-99, CWE-155, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, H2PersistentQueue derives a session's message-map name as queue_ plus the client ID and its metadata-map name as queue_ plus the client ID plus _meta. A durable session whose client ID ends in _meta can therefore make its message map collide with another client's metadata map. The colliding sessions read and write the same H2 MVStore map with incompatible value types, which can corrupt queue head and tail data and cause message loss, misdelivery, failed queue reloads, or exposure of queued content across sessions. This issue is fixed in version 0.18.1.

(As written by CVE List.)

## Affected

- moquette-io moquette: < 0.18.1
- io.moquette:moquette-broker (Maven): before 0.18.1
- moquette moquette: before 0.18.1

## Every score

- GitHub_M: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/moquette-io/moquette/pull/964> (patch)
- <https://github.com/moquette-io/moquette/commit/72d6c8257191d2e4b2e3aa11ab25fd09f88c6cb7> (patch, web)
- <https://github.com/moquette-io/moquette/releases/tag/v0.18.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85724> (advisory)
- <https://github.com/moquette-io/moquette/pull/959> (web)
- <https://github.com/moquette-io/moquette/pull/958> (web)
- <https://github.com/moquette-io/moquette/pull/957> (web)
- <https://github.com/moquette-io/moquette/commit/f5a323fe782d1505c0097498cb22eb6ec6c96973> (web)
- <https://github.com/moquette-io/moquette/commit/d77753542e262b7aa573dee3c2b05e44439bbd96> (web)
- <https://github.com/moquette-io/moquette/commit/ca17e0be19e86d5e291f4532dfdc94616c8e0049> (web)
- <https://github.com/moquette-io/moquette/commit/c65b3e90fa03e562e2c2fa69c3ee916c2cbfbd2b> (web)
- <https://github.com/moquette-io/moquette/commit/b4a98bb3f3425ece476ed073aa080c627c1239af> (web)
- <https://github.com/moquette-io/moquette/commit/affdc71fdba92dc020421678970ae70518fb6da2> (web)
- <https://github.com/moquette-io/moquette/commit/86feb7c31e6fac849c465d8079d08c0e7ef01cdf> (web)
- <https://github.com/moquette-io/moquette/commit/26498631e92d50440b4e3ed42fa546253cc4090c> (web)
- <https://github.com/moquette-io/moquette/commit/14a2f4fd280c8f6a791600c306cbccecb7c67007> (web)
- <https://github.com/moquette-io/moquette> (package)

## Sources

- CVE List: [CVE-2026-95847](https://www.cve.org/CVERecord?id=CVE-2026-95847), CVE Terms of Use, modified 2026-09-23
- GitHub Advisory Database: [GHSA-5f42-97gr-vfhq](https://github.com/advisories/GHSA-5f42-97gr-vfhq), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-95847](https://nvd.nist.gov/vuln/detail/CVE-2026-95847), Public domain, modified 2026-09-28

---

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