CVE-2025-64031
published low CVSS 3.1 · 2.5libarchive: Denial of Service via heap-based buffer overflow in gzip writer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libarchive | — | libarchive3.8.0 to < 3.8.2 · Other versions: unaffected | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.5 / 10
- Severity
- low
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libarchive | libarchive | 3.8.0 to < 3.8.2 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
5- https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8
- https://github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c
- https://github.com/libarchive/libarchive/pull/2734
- https://github.com/libarchive/libarchive/pull/2734/commits
- https://github.com/libarchive/libarchive/pull/2734/files
Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 461d313227dcde3542cb5412c027e6f59d336787470e71de73480aac8249d6ab
- Ingested
- 23 Sep 2026, 08:55:54 UTC
- Source record
- Official CVE record