{"id":"CVE-2026-130491","summary":"Uninitialized heap disclosure in CONNECT through Will payload length truncation","details":"In Eclipse versions 1.5-1.6.13, 2.0.0-2.0.22 and 2.1.0-2.1.2, the client library libmosquitto does not reject Will messages with payloads greater than 65535 bytes when calling `mosquitto_will_set()` or `mosquitto_will_set_v5()`. This results in up to 65535 bytes of uninitialised heap memory being transmitted as the Will.\n\n\n\nThis can be mitigated by only passing payloads with a maximum length of 65535 bytes.","aliases":["GHSA-6hx2-p6j3-qrjg"],"modified":"2026-11-18T12:00:09.083197642Z","published":"2026-11-18T09:44:01.993Z","database_specific":{"cwe_ids":["CWE-200","CWE-908"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130491.json","cna_assigner":"eclipse"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/11/17/20"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130491.json"},{"type":"ADVISORY","url":"https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6hx2-p6j3-qrjg"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/593"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130491"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-mosquitto/mosquitto","events":[{"introduced":"5e60136449d678948520085985d7e7f91f9e601c"},{"last_affected":"652891d31682792443f2e515d0a483b42712c615"},{"introduced":"c00671af5c25593bebf065ed8820f7f00ee85efe"},{"last_affected":"766fa2c5a9bed6c65249cf555f430b982c417480"},{"introduced":"fc415c00b8cc10724ad4cdcaef299324052b2751"},{"last_affected":"99fa50f30e325609394c324c8ff71cfbbe95d8ab"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.5"},{"last_affected":"1.6.13"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"2.0"},{"last_affected":"2.0.22"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.1.0"},{"last_affected":"2.1.2"}]}]}}],"versions":["v2.1.2","v2.1.1","v2.1.0","v2.0.22","v2.0.21","v2.0.20","v2.0.19","v2.0.18","v2.0.17","v2.0.16","v2.0.15","v2.0.14","v2.0.13","v2.0.12","v2.0.11","v2.0.10","v2.0.9","v2.0.8","v1.6.13","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.6.12","v1.6.11","v1.6.10","v1.6.9","v1.6.8","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6","v1.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130491.json"}}],"schema_version":"1.9.2"}