# CVE-2025-5916: Libarchive: integer overflow while reading warc files at archive\_read\_support\_format\_warc.c

- Priority: **Routine**
- Reason: Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-09 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2025-5916, DEBIAN-CVE-2025-5916, openSUSE-SU-2025:15388-1
- Record: https://cvemate.com/vulnerability/CVE-2025-5916 · JSON: https://cvemate.com/vulnerability/CVE-2025-5916/json

## Description

```text
A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. This bug affects libarchive versions prior to 3.8.0.
```

## Signals

- CVSS: 5.6 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
- EPSS: 0.302%, percentile 24.634%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libarchive (Debian): \< 3.6.2-1+deb12u3 \| \< 3.7.4-4
- ubuntu libarchive (Ubuntu): \< 3.1.2-7ubuntu2.8+esm4 \| \< 3.1.2-11ubuntu0.16.04.8+esm2 \| \< 3.2.2-3.1ubuntu0.7+esm2 \| \< 3.4.0-2ubuntu1.5+esm1 \| \< 3.6.0-1ubuntu1.5 \| \< 3.7.2-2ubuntu0.5 \| \< 3.7.7-0ubuntu3
- libarchive libarchive: \< 3.8.0
- redhat enterprise\_linux: 6.0 \| 7.0 \| 8.0 \| 9.0 \| 10.0
- redhat openshift\_container\_platform: 4.0
- opensuse rpi-imager&distro=openSUSE Tumbleweed (openSUSE): \< 1.9.5-1.1

## References

- <https://access.redhat.com/security/cve/CVE-2025-5916>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2370872>
- <https://github.com/libarchive/libarchive/pull/2568>
- <https://github.com/libarchive/libarchive/releases/tag/v3.8.0>
- <https://ubuntu.com/security/CVE-2025-5916>
- <https://www.cve.org/CVERecord?id=CVE-2025-5916>
- <https://github.com/libarchive/libarchive/pull/2568/commits/bce70c4c26864df2a8d6953e7db6e4b156253508>
- <https://ubuntu.com/security/notices/USN-7601-1>
- <https://ubuntu.com/security/notices/USN-8147-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-5916>
- <https://www.suse.com/security/cve/CVE-2025-5916>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-5916>

---

Data as of 2026-12-05T04:02:54.386Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
