# CVE-2025-64346: archives: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-02)
- Published: 2025-03-28T14:45:59.000Z
- Modified: 2026-06-17T09:54:14.933Z
- Also known as: GHSA-j95m-rcjp-q69h, GO-2025-3581
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

archives is a Go library for extracting archives (tar, zip, etc.). Version 1.0.0 does not prevent a malicious user to feed a specially crafted archive to the library causing RCE, modification of files or other malignancies in the context of whatever the user is running this library as, through the program that imports it. Severity depends on user permissions, environment and how arbitrary archives are passed. This issue is fixed in version 1.0.1.

(As written by CVE List.)

## Affected

- jaredallard archives: < 1.0.1
- github.com/jaredallard/archives (Go): before 1.0.1

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/jaredallard/archives/security/advisories/GHSA-j95m-rcjp-q69h> (advisory, web)
- <https://github.com/jaredallard/archives/commit/3bddec7bd3f38afbe97ae61d1c8a8487e9ea4ef1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64346> (advisory)
- <https://github.com/jaredallard/archives> (package)

## Sources

- CVE List: [CVE-2025-64346](https://www.cve.org/CVERecord?id=CVE-2025-64346), CVE Terms of Use, modified 2025-11-07
- GitHub Advisory Database: [GHSA-j95m-rcjp-q69h](https://github.com/advisories/GHSA-j95m-rcjp-q69h), CC-BY-4.0, modified 2025-11-07
- Go Vulnerability Database: [GO-2025-3581](https://pkg.go.dev/vuln/GO-2025-3581), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-64346](https://nvd.nist.gov/vuln/detail/CVE-2025-64346), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-64346 · Whole record: https://cve.day/CVE-2025-64346.json · Rebuilt by cve.day 2026-11-25T22:59:07.332Z
