Description
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.
Problem types
Integer Overflow or Wraparound
Product status
Any version before 3.8.0
Timeline
| 2025-06-06: | Reported to Red Hat. |
| 2025-05-20: | Made public. |
References
access.redhat.com/security/cve/CVE-2025-5916
bugzilla.redhat.com/show_bug.cgi?id=2370872 (RHBZ#2370872)
github.com/libarchive/libarchive/pull/2568
github.com/libarchive/libarchive/releases/tag/v3.8.0