When sending data to an MQTT server, libcurl could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it again.
{ "CWE": { "desc": "Double Free", "id": "CWE-415" }, "package": "curl", "www": "https://curl.se/docs/CVE-2021-22945.html", "severity": "Medium", "affects": "both", "URL": "https://curl.se/docs/CVE-2021-22945.json", "award": { "currency": "USD", "amount": "1000" }, "last_affected": "7.78.0", "issue": "https://hackerone.com/reports/1269242" }