CVE-2025-64031
libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the...
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.)
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
2.5
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.)
- Record
CVE-2025-64031- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2025-210902
2.5
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.)
- Record
EUVD-2025-210902- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-pqgv-phc2-5p8r
2.5
libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the...
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.)
- Record
GHSA-pqgv-phc2-5p8r- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
NVD
2.5
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.)
- Record
CVE-2025-64031- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
OSV
2.5
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.)
- Record
CVE-2025-64031- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVRHSA-2026:43818
4.7
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- Record
RHSA-2026:43818- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-64031
2.5
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.)
- Record
UBUNTU-CVE-2025-64031- CVSS 3.1
- 2.5 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bsdcatRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:3.8.8-3.1.hum1 | 0:3.8.8-3.1.hum1 |
bsdcpioRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:3.8.8-3.1.hum1 | 0:3.8.8-3.1.hum1 |
bsdtarRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:3.8.8-3.1.hum1 | 0:3.8.8-3.1.hum1 |
bsdunzipRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:3.8.8-3.1.hum1 | 0:3.8.8-3.1.hum1 |
libarchiveRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:3.8.8-3.1.hum1 | 0:3.8.8-3.1.hum1 |
libarchive-develRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:3.8.8-3.1.hum1 | 0:3.8.8-3.1.hum1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-64031 is a low vulnerability (CVSS 2.5) in Libarchive, published July 23, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.16%, the 5th percentile. No source names a fixed version.
References
github.com/libarchive/libarchive/pull/2734
github.com/libarchive/libarchive/pull/2734/commits
github.com/libarchive/libarchive/pull/2734/files
github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c
gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8
nvd.nist.gov/vuln/detail/CVE-2025-64031
Show 14 moreShow less
github.com/advisories/GHSA-pqgv-phc2-5p8r
github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64031.json
access.redhat.com/errata/RHSA-2026:43818
access.redhat.com/security/cve/CVE-2026-16517
access.redhat.com/security/updates/classification
images.redhat.com
access.redhat.com/security/cve/CVE-2025-64031
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_43818.json
bugzilla.redhat.com/show_bug.cgi?id=2532805
cve.org/CVERecord?id=CVE-2025-64031
bugzilla.redhat.com/show_bug.cgi?id=2505492
cve.org/CVERecord?id=CVE-2026-16517
nvd.nist.gov/vuln/detail/CVE-2026-16517
ubuntu.com/security/CVE-2025-64031