Technical impact
libwebsockets implements the MQTT protocol and processes PUBACK packets without sufficient validation. This omission allows an attacker to craft a malformed PUBACK packet that triggers an out‑of‑bounds write to a user‑supplied buffer. The resulting memory corruption enables execution of arbitrary code within the context of the running process, allowing full system compromise. The weakness is classed as an out‑of‑bounds write, CWE‑787.
Affected Systems
The flaw resides in the libwebsockets library. Affected installations are any systems that compile or link against libwebsockets without applying the recent commit that addresses the PUBACK validation. No specific product version range is listed, so any build prior to the patched release is potentially vulnerable.
Risk and Exploitability
The vulnerability carries a CVSS score of 8.1, indicating high severity. EPSS data is not available, so the current exploitation probability cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. Remote attackers can exploit the issue over the network; authentication is not required. Successful exploitation would give an attacker the same privileges as the running process, which could lead to full system compromise.