CVE-2025-5917
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 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. 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 | None |
| Integrity impact | None |
| Availability impact | Low |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/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