SecurityContext

CVE-2025-64031: libarchive - Buffer Overflow

  • Cve: CVE-2025-64031
  • Name: libarchive - Buffer Overflow
  • 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.)
  • Impact: Attackers can cause memory corruption leading to potential denial of service or code execution.
  • Remediation: Update to version 3.8.2 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirements: Attacker needs to supply a crafted original-filename from an untrusted source
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.5
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
  • Epss score: 0.0016
  • Epss percentile: 0.0519
  • Assignee: [email protected]
  • Published at: 2026-09-14T01:16:26Z
  • Age in days: 70
  • Modified at: 2026-10-14T19:10:00Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-64031
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Products

ProductAffectedPlatform boundSourcesUrl
libarchive:libarchive>= 3.8.0, < 3.8.2nocna/v1/products/libarchive/libarchive

Projects

RepositoryLink kindsIndexedUrl
libarchive/libarchivepullyes/v1/repositories/libarchive/libarchive

Index

  • Repositories: 120
  • Repositories high signal: 70
  • Checked, none or zero: packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts