CVE-2025-5916
Publication date 9 June 2025
Last updated 6 April 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libarchive | 25.10 questing |
Fixed 3.7.7-0ubuntu3
|
| 24.04 LTS noble |
Fixed 3.7.2-2ubuntu0.5
|
|
| 22.04 LTS jammy |
Fixed 3.6.0-1ubuntu1.5
|
|
| 20.04 LTS focal |
Fixed 3.4.0-2ubuntu1.5+esm1
|
|
| 18.04 LTS bionic |
Fixed 3.2.2-3.1ubuntu0.7+esm2
|
|
| 16.04 LTS xenial |
Fixed 3.1.2-11ubuntu0.16.04.8+esm2
|
|
| 14.04 LTS trusty |
Fixed 3.1.2-7ubuntu2.8+esm4
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity impact | None |
| Availability impact | Low |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L |
References
Related Ubuntu Security Notices (USN)
- USN-7601-1
- libarchive vulnerabilities
- 26 June 2025
- USN-8147-1
- libarchive vulnerabilities
- 2 April 2026
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-5916
- https://github.com/libarchive/libarchive/pull/2568
- https://access.redhat.com/security/cve/CVE-2025-5916
- https://bugzilla.redhat.com/show_bug.cgi?id=2370872
- https://github.com/libarchive/libarchive/releases/tag/v3.8.0
- https://github.com/libarchive/libarchive/pull/2568/commits/bce70c4c26864df2a8d6953e7db6e4b156253508