Buffer Overflow Affecting libarchive package, versions <0:3.8.8-3.1.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (7th 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-RHEL10-LIBARCHIVE-19789931
  • published15 Sept 2026
  • disclosed1 Jan 2025

Introduced: 1 Jan 2025

CVE-2025-64031  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade RHEL:10 libarchive to version 0:3.8.8-3.1.hum1 or higher.
This issue was patched in RHSA-2026:43818.

NVD Description

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

libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the original-filename field to archive_compressor_gzip_open in archive_write_add_filter_gzip.c, aka GHSA-92wx-p669-8gr9. This relates to bsdtar. Exploitation envisions a marginally plausible scenario in which original-filename is obtained from an untrusted party. (original-filename is not derived from the input data.)

CVSS Base Scores

version 3.1