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

[CVE catalog]

Severity
Medium · CVSS 4.7CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2not affected
Debianlibarchiveforky3.8.9-1not affected
Debianlibarchivetrixie3.7.4-4+deb13u1not affected
Debianlibarchivebookworm3.6.2-1+deb12u4not affected
Debianlibarchivebookworm-security3.6.2-1+deb12u5not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianlibarchivesourcesidNot affectedunimportantNot reportedNot reported
DebianlibarchivesourceforkyNot affectedunimportantNot reportedNot reported
DebianlibarchivesourcetrixieNot affectedunimportantNot reportedNot reported
DebianlibarchivesourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libarchive13]Not affected

    Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Not affected

      nvd · libarchive · debian · bookworm

  • [libarchive-dev]Not affected

    Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Not affected

      nvd · libarchive · debian · bookworm

  • [libarchive-tools]Not affected

    Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Not affected

      nvd · libarchive · debian · bookworm

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Not affected

      nvd · libarchive · debian · bookworm

Observed:

References