CVE-2025-64031 json
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_compres…
published 2026-09-14 56 d ago modified 2026-10-14 25 d ago also EUVD-2025-210902
- cvss
- 2.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- libarchive libarchive 3.8.2
- bsdcat hummingbird 1 3.8.8-3.1.hum1
- bsdtar hummingbird 1 3.8.8-3.1.hum1
- bsdcpio hummingbird 1 3.8.8-3.1.hum1
- bsdunzip hummingbird 1 3.8.8-3.1.hum1
- libarchive hummingbird 1 3.8.8-3.1.hum1
red hat advisories RHSA-2026:43818
- github.com/libarchive/libarchive#2734 pull request
- github.com/libarchive/libarchive#2734 pull request
- github.com/libarchive/libarchive#2734 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-64031 updated cvss 4.7
libarchive: libarchive: Denial of Service via heap-based buffer overflow in gzip writer
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat Hardened Images bsdcat 3.8.8-3.1.hum1, bsdtar 3.8.8-3.1.hum1, bsdcpio 3.8.8-3.1.hum1, bsdunzip 3.8.8-3.1.hum1, libarchive 3.8.8-3.1.hum1fixed: vendor fix RHSA-2026:43818
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 53 d ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected products
- libarchive libarchive
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
- github.com /libarchive/libarchive/pull/2734
- github.com /libarchive/libarchive/pull/2734/commits
- github.com /libarchive/libarchive/pull/2734/files
-
gist.github.com
/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8
exploit
- github.com /libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c
Sources
- CVE List CVE-2025-64031
- NVD CVE-2025-64031
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.