CVE-2026-110486

Source
https://cve.org/CVERecord?id=CVE-2026-110486
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110486.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-110486
Aliases
  • GHSA-6j8m-r32v-4h38
Published
2026-11-18T10:15:09Z
Modified
2026-11-18T13:00:42Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Remote heap out-of-bounds read/write in Eclipse Mosquitto
Details

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.

Database specific
{
    "cna_assigner":  "eclipse",
    "cwe_ids":  [
        "CWE-191",
        "CWE-787",
        "CWE-908"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110486.json"
}
References

Affected packages

Git / github.com/eclipse-mosquitto/mosquitto

Affected ranges

Type
GIT
Repo
https://github.com/eclipse-mosquitto/mosquitto
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.1"
                },
                {
                    "last_affected":  "2.1.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v2.*
v2.1.0
v2.1.1
v2.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110486.json"