CVE-2021-33640
CVE-2021-33640 is a medium-severity vulnerability in Openatom Openeuler with a CVSS 3.x base score of 6.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.
Key facts
- Severity: Medium (CVSS 3.x base score 6.2)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-416
- Affected product: Openatom Openeuler
- Published:
- Last modified:
Description
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->th_buf) . As a result, the released memory is used (use-after-free).
Frequently asked questions
- What is CVE-2021-33640?
- 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->th_buf) . As a result, the released memory is used (use-after-free).
- How severe is CVE-2021-33640?
- CVE-2021-33640 has a CVSS 3.x base score of 6.2, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-33640 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-33640?
- CVE-2021-33640 primarily affects Openatom Openeuler. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-33640?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-33640 published?
- CVE-2021-33640 was published on 2022-12-19 and last updated on 2026-06-17.
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WX5YE66CT7Y5C2HTHXSFDKQWYWYWJ2T/
- https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2021-33640&packageName=libtar
Affected products (5)
- cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:*
- cpe:2.3:o:openatom:openeuler:20.03:sp2:*:*:lts:*:*:*
- cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
More vulnerabilities in Openatom Openeuler
- CVE-2021-33643 — Critical (CVSS 9.1): An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of…
- CVE-2021-33644 — High (CVSS 8.1): An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of…
- CVE-2021-33646 — High (CVSS 7.5): The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allocating memory, which may cause a…
- CVE-2021-33645 — High (CVSS 7.5): The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a…
- CVE-2021-33656 — Medium (CVSS 6.8): When setting font with malicous data by ioctl cmd PIO_FONT,kernel will write memory out of bounds.
- CVE-2021-33631 — Medium (CVSS 5.5): Integer Overflow or Wraparound vulnerability in openEuler kernel on Linux (filesystem modules) allows Forced Integer…
All CVEs affecting Openatom Openeuler →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…