
CVE catalog
CVE-2025-64031
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-92
- Severity
- Medium · CVSS 4.7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.)
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | not affected |
| Debian | libarchive | forky | 3.8.9-1 | not affected |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | not affected |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | not affected |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | libarchive | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | libarchive | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | libarchive | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Not affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u4· arm64 · bookwormNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u5· amd64 · bookworm-securityNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u5· arm64 · bookworm-securityNot affected
nvd · libarchive · debian · bookworm
- [libarchive-dev]Not affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u4· arm64 · bookwormNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u5· amd64 · bookworm-securityNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u5· arm64 · bookworm-securityNot affected
nvd · libarchive · debian · bookworm
- [libarchive-tools]Not affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u4· arm64 · bookwormNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u5· amd64 · bookworm-securityNot affected
nvd · libarchive · debian · bookworm
3.6.2-1+deb12u5· arm64 · bookworm-securityNot affected
nvd · libarchive · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-64031]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-64031]
- [https://security-tracker.debian.org/tracker/CVE-2025-64031]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64031.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3340.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]