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.
Loading...
Loading...
Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2022-08-11. NVD baseline CVSS 9.1; sources differ by 0.0.
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.
August 10, 2022
November 3, 2025
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libtar0t64 (1.2.20-8.1ubuntu0.24.04.1) @ noble | 2026-05-25 | ubuntu |
| redhat | libtar-0:1.2.20-17.el8 | 2023-05-16 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
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.
RHSA-2023:2898 — Moderate
libtar vulnerabilities
Every time one of our enrichment pipelines (NVD, MITRE cvelistV5, EPSS, CISA KEV, GHSA, OSV, vendor advisories) ran against this CVE. Most recent first.
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-33643
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.
msrc · redhat
CWE-125