{"schemaVersion":3,"id":"CVE-2025-64031","aliases":["UBUNTU-CVE-2025-64031"],"status":"published","duplicateOf":null,"title":null,"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.)","dates":{"published":"2026-09-14T00:00:00.000Z","modified":"2026-09-16T14:22:52.108Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.5,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":2.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.5,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00179,"percentile":0.07064,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.055999999999999994,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00123},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00179,"percentile":0.07064}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00123,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00179,"percentile":0.07064}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"ubuntu","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libarchive","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"libarchive","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.8.0, < 3.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.8.0, < 3.8.2","eol":null,"hubHref":"/vendor/libarchive/libarchive"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libarchive/libarchive/pull/2734","label":"github.com/libarchive/libarchive/pull/2734","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/libarchive/libarchive/pull/2734/commits","label":"github.com/libarchive/libarchive/pull/2734/commits","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/libarchive/libarchive/pull/2734/files","label":"github.com/libarchive/libarchive/pull/2734/files","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c","label":"github.com/libarchive/libarchive/blob/master/libarchive/archive_write_add_filter_gzip.c","hostname":"github.com","tags":["REPORT"]},{"url":"https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8","label":"gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8","hostname":"gist.github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2025-64031","label":"ubuntu.com/security/CVE-2025-64031","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-64031","label":"www.cve.org/CVERecord?id=CVE-2025-64031","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:43818"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-14T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-16T14:22:52.108Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":10,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:15:11.529Z","stale":false,"partial":false}}