CVE-2021-33643 in Fedoraproject Fedora and 2 more products
An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 35 36 37 |
| Feep | Libtar | < 1.2.21 |
| Openatom | Openeuler | 20.03 22.03 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-33643 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-278963-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| Published | 2022-08-10 |
| Last modified | 2025-11-03 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the handling of tar files allows an attacker to craft a tar file with a size in the header struct set to 0, which can trigger a call to malloc(0) for a variable gnu_longlink, leading to an out-of-bounds read.
An attacker can exploit this vulnerability by submitting a specially crafted tar file to a system that processes tar files. The crafted tar file contains a header with a size field set to 0, which can cause the system to improperly allocate memory and read out-of-bounds.
Questions
What is CVE-2021-33643?
A vulnerability in the handling of tar files allows an attacker to craft a tar file with a size in the header struct set to 0, which can trigger a call to malloc(0) for a variable gnu_longlink, leading to an out-of-bounds read.
What is the CVSS score for CVE-2021-33643?
CVE-2021-33643 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 2.1%.
Is CVE-2021-33643 actively exploited?
No confirmed active exploitation of CVE-2021-33643 as of 2026-05-30.
How do I remediate CVE-2021-33643?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-33643?
CVE-2021-33643 affects Fedoraproject Fedora; Feep Libtar; Openatom Openeuler.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-03.