# CVE-2026-110486: Remote heap out-of-bounds read/write in Eclipse Mosquitto

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.27% (percentile 70, 2026-11-28)
- **CWE:** CWE-787, CWE-908, CWE-191
- **Published:** 2026-11-18T10:15:09.085Z
- **Modified:** 2026-11-24T19:10:01.980Z

## Who should check

- Anyone running Eclipse Foundation Eclipse Mosquitto \>= 2.1, \<= 2.1.2

## Description

In Eclipse Mosquitto versions 2.1 through 2.1.2, a listener configured with \`protocol websockets\` mishandles empty WebSocket data frames. \`net\_\_read\_ws()\` in \`lib/net\_ws.c\` returns the number of framing bytes consumed (the 4 masking-key bytes) for a data frame with a zero-length payload, without writing any bytes to the caller’s buffer. The MQTT packet reader in \`packet\_\_read\_single()\` (\`lib/packet\_mosq.c\`) trusts that return value as a payload byte count. A remote client can therefore advance the read position over an uninitialised heap allocation, causing the broker to process and forward uninitialised heap memory (information disclosure, including heap and libc pointers), and can underflow the unsigned \`to\_process\` counter so that subsequent attacker-controlled frame data is written past the end of the allocation (heap out-of-bounds write). The out-of-bounds write is reachable from the CONNECT packet before any authentication check, so an unauthenticated client can corrupt the heap and crash the broker even when \`allow\_anonymous false\` is set. Combining the disclosure and the write allows remote code execution as the broker’s user by any client able to establish a session.

## Affected and fixed versions

- Eclipse Foundation Eclipse Mosquitto: \>= 2.1, \<= 2.1.2 (cvelist)

## Technologies

Eclipse Mosquitto

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-110486. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-110486.md
Affected: Eclipse Foundation Eclipse Mosquitto >= 2.1, <= 2.1.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Eclipse Foundation Eclipse Mosquitto: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-110486 being exploited?

There is no confirmed exploitation: CVE-2026-110486 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-110486?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-110486?

Eclipse Foundation Eclipse Mosquitto \>= 2.1, \<= 2.1.2.

### Is there a fix for CVE-2026-110486?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-110486?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38>
- exploit: <https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/521>
- other: <https://gitlab.eclipse.org/security/cve-assignment/-/work_items/399>
- other: <http://www.openwall.com/lists/oss-security/2026/11/17/14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-110486>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-110486> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-110486>
