{"id":"AZL-34950","summary":"CVE-2021-33640 affecting package libtar for versions less than 1.2.20-11","details":"After tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t-\u003eth_buf) . As a result, the released memory is used (use-after-free).","modified":"2026-04-21T04:27:40.023983Z","published":"2022-12-19T16:15:10Z","upstream":["CVE-2021-33640"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33640"}],"affected":[{"package":{"name":"libtar","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/libtar"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.20-11"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-34950.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:H/A:H"}]}