CVE-2025-64031

Source
https://cve.org/CVERecord?id=CVE-2025-64031
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64031.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-64031
Downstream
Published
2026-09-14T00:00:00Z
Modified
2026-09-17T03:30:28Z
Severity
  • 2.5 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

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.)

Database specific
{
    "cna_assigner": "mitre",
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64031.json"
}
References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.8.0"
        },
        {
            "fixed": "3.8.2"
        },
        {
            "introduced": "3.8.x"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

v3.*
v3.8.0
v3.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64031.json"