Home

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.

PUBLISHED Reserved 2025-06-09 | Published 2025-06-09 | Updated 2026-01-08 | Assigner redhat




LOW: 3.9CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L

Problem types

Integer Overflow or Wraparound

Product status

Default status
unaffected

Any version before 3.8.0
affected

Default status
affected

Default status
unknown

Default status
unknown

Default status
affected

Default status
affected

Default status
affected

Timeline

2025-06-06:Reported to Red Hat.
2025-05-20:Made public.

References

access.redhat.com/security/cve/CVE-2025-5916 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2370872 (RHBZ#2370872) issue-tracking

github.com/libarchive/libarchive/pull/2568

github.com/libarchive/libarchive/releases/tag/v3.8.0

cve.org (CVE-2025-5916)

nvd.nist.gov (CVE-2025-5916)

Download JSON