CVE-2025-5915
Reported by redhat · Published June 9, 2025
libarchive is fixed in 3.8.0 (GitHub Packages)
A vulnerability has been identified in the libarchive library. This flaw can lead to a heap buffer over-read due to the size of a filter block potentially exceeding the Lempel-Ziv-Storer-Schieber (LZSS) window. This means the library may attempt to read beyond the allocated memory buffer, which can result in unpredictable program behavior, crashes (denial of service), or the disclosure of sensitive information from adjacent memory regions.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libarchive | GitHub Packages | 3.8.0 |
| libarchive | Amazon Linux | 3.7.4-2.amzn2023.0.4 |
| bsdunzip | Amazon Linux | 3.7.4-2.amzn2023.0.4 |
| bsdtar | Amazon Linux | 3.7.4-2.amzn2023.0.4 |
| bsdcpio | Amazon Linux | 3.7.4-2.amzn2023.0.4 |
| libarchive-devel | Amazon Linux | 3.7.4-2.amzn2023.0.4 |
| bsdcat | Amazon Linux | 3.7.4-2.amzn2023.0.4 |
| libarchive | libarchive | 3.8.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | |
| Red Hat | Red Hat OpenShift AI (RHOAI) |
…and 68 more
Timeline
- Jun 9, 2025 CVE Published
- Jun 10, 2025 EPSS Score (30 in total, the first dated here)
- Jun 12, 2025 Coalition ESS Score (17 in total, the first dated here)
- May 11, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-5915
vulnetix vdb fixes CVE-2025-5915
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5915/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2370865 issue-trackingx_refsource_REDHAT