{"id":"UBUNTU-CVE-2021-22945","details":"When sending data to an MQTT server, libcurl \u003c= 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*.","modified":"2026-04-22T12:48:07.896039Z","published":"2021-09-15T00:00:00Z","related":["USN-5079-1"],"upstream":["CVE-2021-22945"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22945"},{"type":"REPORT","url":"https://curl.se/docs/CVE-2021-22945.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5079-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22945"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/curl@7.74.0-1.3ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.74.0-1.3ubuntu2"}]}],"ecosystem_specific":{"binaries":[{"binary_version":"7.74.0-1.3ubuntu2","binary_name":"curl"},{"binary_version":"7.74.0-1.3ubuntu2","binary_name":"libcurl3-gnutls"},{"binary_version":"7.74.0-1.3ubuntu2","binary_name":"libcurl3-nss"},{"binary_version":"7.74.0-1.3ubuntu2","binary_name":"libcurl4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22945.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}