What’s Vulnerable › Vulnerabilities

CVE-2025-5916: Libarchive: integer overflow while reading warc files at archive_read_support_format_warc.c

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.

Affected products

How to fix

Upgrade to a fixed version: libarchive 3.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-5916 or the next vulnerability affects your stack