cve.bz

CVE-2025-64031 libarchive libarchive: Heap-based Buffer Overflow

2.5 lowEPSS 0.2%

Low (2.5) in libarchive libarchive. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.)

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-64031 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-64031?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-64031?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-64031 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libarchivefrom 3.8.0 before 3.8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hathummingbird:1bsdcat, bsdtar, bsdcpio and 3 more0:3.8.8-3.1.hum1RHSA-2026:43818

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: Red Hat OpenShift Container Platform and Red Hat Hardened Images are affected by a heap-based buffer overflow in libarchive's gzip writer when an untrusted party supplies the original-filename field. Exploitation requires local access, high attack complexity, no privileges, and user interaction; successful exploitation can cause a denial of service through loss of availability. The OpenShift Container Platform affects are deferred because the Red Hat CVSS score is 4.7, below 7.0, and the impact is Moderate; the residual risk is the specific availability-denial scenario described above. The Red Hat score is higher than the CVE.org Low score of 2.5 because Red Hat rates the availability impact as High rather than Low. For Red Hat Hardened Images, the issue is delegated and a fix is being pursued.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibarchive-main-3.8.8-3.1.hum1Fixed 2026-07-22RHSA-2026:43818
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-64031.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON