Paho v1.3.15 Heap Use-After-Free in Eclipse Paho MQTT C Client via Message Retry Logi
Posted by Ron E on Sep 03*Description:* Eclipse Paho MQTT C Client contains a heap use-after-free vulnerability in the synchronous MQTT client (libpaho-mqtt3c) when handling incoming PUBLISH messages with retry semantics. When a user-supplied messageArrived() callback frees the received message and returns 0 (indicating processing failure and requesting retry), the library retains internal references to the freed message and later reuses them during retry processing