{"id":"CVE-2025-64031","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_gzip.c, aka GHSA-92wx-p669-8gr9","summary":"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.…","severity":"low","cvss":2.5,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","cwe":["CWE-122","CWE-120"],"vendor":"libarchive","product":"libarchive","affected":["libarchive >= 3.8.0 < 3.8.2"],"published":"2026-09-14","updated":"2026-09-16","sourceUpdated":"2026-09-16T15:17:33.010","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-64031","references":[{"url":"https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8","label":"cve@mitre.org"},{"url":"https://github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c","label":"cve@mitre.org"},{"url":"https://github.com/libarchive/libarchive/pull/2734","label":"cve@mitre.org"},{"url":"https://github.com/libarchive/libarchive/pull/2734/commits","label":"cve@mitre.org"},{"url":"https://github.com/libarchive/libarchive/pull/2734/files","label":"cve@mitre.org"},{"url":"https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64031.json"},{"url":"https://access.redhat.com/security/cve/CVE-2025-64031"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2532805"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-64031"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64031"},{"url":"https://access.redhat.com/errata/RHSA-2026:43818"}],"tags":["nvd","cve.org","exploit-available","csaf","vex","red-hat","score-dispute"],"epss":0.00123,"epssPercentile":0.024,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T14:22:24.565126Z"},"scores":{"nvd":2.5,"cna":2.5,"vendor":4.7},"ingestedAt":"2026-09-14T15:23:07.467Z","patched":["hardened_images"],"slug":"CVE-2025-64031","body":"## Overview\n\nlibarchive 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.)\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat OpenShift Container Platform 4 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64031.json)\n- **RHSA-2026:43818** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:43818)","depth":"twilight","depthScore":26,"depthScoreParts":{"impact":13.8,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":205295,"id":"CVE-2025-64031","ts":1789570707644,"field":"exploit_available","old":"false","new":"true"},{"seq":205294,"id":"CVE-2025-64031","ts":1789570707644,"field":"cvss","old":"4.7","new":"2.5"},{"seq":205293,"id":"CVE-2025-64031","ts":1789570707644,"field":"severity","old":"medium","new":"low"},{"seq":202793,"id":"CVE-2025-64031","ts":1789403722355,"field":"cvss","old":"2.5","new":"4.7"},{"seq":202792,"id":"CVE-2025-64031","ts":1789403722355,"field":"severity","old":"low","new":"medium"}]}