CVE-2021-22945: When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already fr…
CVE-2021-22945 affects 12 listed versions of Apple macOS, Oracle MySQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apple macOS
6 of 250 listed versions are affected. Fixed in 12.3. The newest release, 27.2.1, is not affected.
12.2.1 12.2 12.1 12.0.1 12.0.0 12.0
Oracle MySQL
6 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.
5.7.35 5.7.34 5.7.33 5.7.32 5.7.31 5.7.30
What it is
When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 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*.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (NVD)
Published by Hackerone on 23 September 2021. Last changed 14 October 2026.
Sources
Check one version you run: look CVE-2021-22945 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.