{"id":"CVE-2025-64031","state":"PUBLISHED","title":"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","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.)","publishedAt":"2026-09-14T00:00:00.000Z","updatedAt":"2026-09-16T14:22:52.108Z","severity":{"score":2.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"mitre"},"assigner":"mitre","products":["libarchive libarchive"],"affected":[{"vendor":"libarchive","product":"libarchive","defaultStatus":"unaffected","versions":[{"version":"3.8.0","status":"affected","lessThan":"3.8.2","versionType":"semver"}]}],"references":["https://github.com/libarchive/libarchive/pull/2734","https://github.com/libarchive/libarchive/pull/2734/commits","https://github.com/libarchive/libarchive/pull/2734/files","https://github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c","https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:09:48.677Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/64xxx/CVE-2025-64031.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-64031","state":"PUBLISHED","datePublished":"2026-09-14T00:00:00.000Z","dateUpdated":"2026-09-16T14:22:52.108Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-10-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.)"}],"affected":[{"vendor":"libarchive","product":"libarchive","defaultStatus":"unaffected","versions":[{"version":"3.8.0","status":"affected","lessThan":"3.8.2","versionType":"semver"}]}],"references":[{"url":"https://github.com/libarchive/libarchive/pull/2734"},{"url":"https://github.com/libarchive/libarchive/pull/2734/commits"},{"url":"https://github.com/libarchive/libarchive/pull/2734/files"},{"url":"https://github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c"},{"url":"https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":2.5,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-09-14T00:10:51.769Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*","versionStartIncluding":"3.8.0","versionEndExcluding":"3.8.2"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-16T14:22:24.565126Z","id":"CVE-2025-64031","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-16T14:22:52.108Z"}}]}}}