PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-64031 libarchive CVE debrief

A heap-based buffer overflow vulnerability exists in libarchive 3.8.x before 3.8.2, specifically in the gzip writer via the original-filename field. This issue, tracked as CVE-2025-64031, relates to the bsdtar utility. The vulnerability is caused by a strcpy operation in the archive_compressor_gzip_open function within archive_write_add_filter_gzip.c. A marginally plausible exploitation scenario involves obtaining the original-filename from an untrusted party. The CVSS score for this vulnerability is 2.5, indicating a low severity.

Vendor
libarchive
Product
Unknown
CVSS
LOW 2.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-14
Original CVE updated
2026-09-22
Advisory published
2026-09-14
Advisory updated
2026-09-22

Who should care

Defenders responsible for systems or deployments using libarchive 3.8.x before 3.8.2 should assess exposure and prioritize verification and remediation efforts. This includes operators, platform administrators, vulnerability management teams, and security teams who need to review and update affected systems or deployments to mitigate risks. They should also monitor for potential exploitation attempts to detect potential attacks.

Why it matters

CVE-2025-64031 is a low-severity vulnerability in libarchive 3.8.x before 3.8.2, allowing for a heap-based buffer overflow in the gzip writer. Defenders should prioritize verification and remediation efforts to mitigate potential risks.

  • Verify libarchive version and apply patches or updates to prevent potential buffer overflow
  • Review and update affected systems or deployments to mitigate risks
  • Monitor for potential exploitation attempts to detect potential attacks

Technical summary

The vulnerability is caused by a strcpy operation in the archive_compressor_gzip_open function within archive_write_add_filter_gzip.c. This allows for a heap-based buffer overflow when handling the original-filename field in the gzip writer. The issue relates to the bsdtar utility and affects libarchive 3.8.x before 3.8.2. A marginally plausible exploitation scenario involves obtaining the original-filename from an untrusted party. Defenders should prioritize verifying the libarchive version and applying patches or updates to mitigate potential risks associated with this vulnerability.

Defensive priority

Defenders should prioritize verifying the libarchive version and applying patches or updates to mitigate potential risks associated with this vulnerability.

Recommended defensive actions

  • Verify libarchive version and apply patches or updates
  • Review and update affected systems or deployments
  • Monitor for potential exploitation attempts
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and NVD entry provide details about the vulnerability, including its description, CVSS score, and affected versions. However, the corpus does not establish versions, exploitation, impact, or remediation beyond vendor-provided information.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-64031 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-64031

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-64031 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-64031

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.