libwebsockets MQTT PUBACK out-of-bounds write RCE
Oct 28 find · published Oct 26ZEzerodayinitiative.com · 1 min readRead original
Vulnerability in cryptographic implementationCVEAdvisory
CVE-2026-19742 is an out-of-bounds write in libwebsockets' MQTT PUBACK packet handling that allows unauthenticated remote code execution. The vulnerability stems from insufficient validation of user-supplied data, enabling attackers to write past the end of an allocated buffer and execute arbitrary code in the current process. CVSS score is 8.1. The vendor libwebsockets has issued a fix via GitHub commit c9e8e1834d7f13038c82963086b90e2ee9c5b44c. The vulnerability was reported on July 16, 2026 and publicly disclosed on October 26, 2026. This affects any system running vulnerable versions of libwebsockets that handles MQTT traffic from untrusted networks.
8.1CVSS score
CVE-2026-19742Identifier
Comments
Sign in to join the conversation.