Unchecked Return Value Affecting libarchive package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

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 IDSNYK-CENTOS6-LIBARCHIVE-9056359
  • published4 Mar 2025
  • disclosed2 Mar 2025

Introduced: 2 Mar 2025

NewCVE-2025-25724  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 libarchive.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.

CVSS Base Scores

version 3.1