CVE-2025-64031

libarchive: libarchive: Denial of Service via heap-based buffer overflow in gzip writer

Published Sep 14, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
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.)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Heap Overflow in libarchive Gzip Writer via Original-Filename libarchive: libarchive: Denial of Service via heap-based buffer overflow in gzip writer
Weaknesses CWE-120
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Title Heap Overflow in libarchive Gzip Writer via Original-Filename
Type Values Removed Values Added
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.)
First Time appeared Libarchive
Libarchive libarchive
Weaknesses CWE-122
CPEs cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
Vendors & Products Libarchive
Libarchive libarchive
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 16, 2026, 2:22 PM
Reserved
Oct 27, 2025, 12:00 AM
Status
Awaiting Analysis
Published
Sep 14, 2026, 1:16 AM
Modified
Oct 14, 2026, 7:10 PM
Severity
Moderate
Public date
Sep 14, 2026, 12:00 AM