Out-of-bounds Read Affecting libtar package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.88% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBTAR-10077387
  • published8 May 2025
  • disclosed11 Aug 2022
  • creditUnknown

Introduced: 11 Aug 2022

CVE-2021-33643  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for libtar.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via a crafted tar file with a size in header struct being 0, which allows an attacker to trigger a calling of malloc(0) function for a variable gnu_longlink

References

CVSS Base Scores

version 3.1