# ZDI-26-792: libwebsockets MQTT Protocol PUBACK Packet Handling Out-Of-Bounds Write Remote Code Execution Vulnerability

DevFeed: [ZDI-26-792: libwebsockets MQTT Protocol PUBACK Packet Handling Out-Of-Bounds Write Remote Code Execution Vulnerability](<https://devfeed.tech/articles/zdi-26-792-libwebsockets-mqtt-protocol-puback-packet-handling-out-of-bounds-write-remote-code-execution-vulnerability-101872.md>)

Original publisher: [Read original article](<http://www.zerodayinitiative.com/advisories/ZDI-26-792/>)

Published: 2026-10-26T05:00:00Z

Content type: news

Language: en

Sources: [Zero Day Initiative](<https://devfeed.tech/sources/zero-day-initiative.md>)

Topics: [MQTT](<https://devfeed.tech/topics/mqtt.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>)

Tags: [code-execution](<https://devfeed.tech/tags/code-execution.md>), [mqtt](<https://devfeed.tech/tags/mqtt.md>), [out-of-bounds-write](<https://devfeed.tech/tags/out-of-bounds-write.md>), [packet](<https://devfeed.tech/tags/packet.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [remote](<https://devfeed.tech/tags/remote.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [remote-code-execution-vulnerability](<https://devfeed.tech/tags/remote-code-execution-vulnerability.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

An input-validation flaw in libwebsockets' handling of MQTT PUBACK packets can write past an allocated buffer, allowing unauthenticated remote attackers to execute code in the current process. The advisory says libwebsockets has issued an update to correct the vulnerability (CVE-2026-114550; CVSS 8.1).

## Source excerpt

This vulnerability allows remote attackers to execute arbitrary code on affected installations of libwebsockets. Authentication is not required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 8.1. The following CVEs are assigned: CVE-2026-114550.