CVE-2025-25724 Affecting libarchive package, versions <3.7.7-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (3rd 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 IDSNYK-WOLFILATEST-LIBARCHIVE-15399924
  • published5 Mar 2026
  • disclosed2 Mar 2025

Introduced: 2 Mar 2025

CVE-2025-25724  (opens in a new tab)

How to fix?

Upgrade Wolfi libarchive to version 3.7.7-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by Wolfi. See How to fix? for Wolfi 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