CVE-2025-5916: Integer Overflow or Wraparound
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.
AI Analysis
Technical Summary
An integer overflow vulnerability exists in libarchive when handling WARC files with content sizes exceeding INT64_MAX - 4 bytes. This overflow can cause memory corruption or denial-of-service conditions in applications relying on libarchive for archive processing. The flaw affects all libarchive versions before 3.8.0. The vulnerability has a CVSS score of 3.9 (low severity) and requires local privileges with low complexity and user interaction to exploit. No known exploits are reported in the wild. The vendor advisory from Red Hat is available but does not explicitly state patch availability.
Potential Impact
Successful exploitation may cause unpredictable program behavior, memory corruption, or denial-of-service conditions in affected applications processing maliciously crafted WARC archives. Confidentiality and integrity impacts are low, with availability impact limited to denial-of-service. The vulnerability requires local access and user interaction, limiting its risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-5916 for current remediation guidance. Until a patch is applied, avoid processing untrusted WARC files with vulnerable libarchive versions. Monitor vendor communications for updates on fixes.
CVE-2025-5916: Integer Overflow or Wraparound
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.
CVSS v3.1
Score 3.9low
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An integer overflow vulnerability exists in libarchive when handling WARC files with content sizes exceeding INT64_MAX - 4 bytes. This overflow can cause memory corruption or denial-of-service conditions in applications relying on libarchive for archive processing. The flaw affects all libarchive versions before 3.8.0. The vulnerability has a CVSS score of 3.9 (low severity) and requires local privileges with low complexity and user interaction to exploit. No known exploits are reported in the wild. The vendor advisory from Red Hat is available but does not explicitly state patch availability.
Potential Impact
Successful exploitation may cause unpredictable program behavior, memory corruption, or denial-of-service conditions in affected applications processing maliciously crafted WARC archives. Confidentiality and integrity impacts are low, with availability impact limited to denial-of-service. The vulnerability requires local access and user interaction, limiting its risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-5916 for current remediation guidance. Until a patch is applied, avoid processing untrusted WARC files with vulnerable libarchive versions. Monitor vendor communications for updates on fixes.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- redhat
- Date Reserved
- 2025-06-09T08:10:51.733Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-5916","vendor":"Red Hat"}]
Threat ID: 68487f561b0bd07c3938a581
Added to database: 06/10/2025, 18:54:14 UTC
Last enriched: 07/02/2026, 21:58:08 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 130
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.