CVE-2025-5917
Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c
02 Description
Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.22% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 13.1% of scored records. A rank, not a probability.
- NVD base score
- 5.0 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-09-01.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-06-09 19:49Z1 YR AGO
- Last updated
- 2026-09-01 12:08Z1 MO AGO
- Reserved
- 2025-06-09
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Low (CVSS 2.8)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-787Out-of-bounds WriteBase
- Data version
- 5.2
- Document digest
- dcbcc4c7ba6bbd49c2e0f160bb3027767efe1e878c58336f1b0064e9f4674b27
05 Affected products
06 References
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2025-5917
- bugzilla.redhat.comRHBZ#2370874https://bugzilla.redhat.com/show_bug.cgi?id=2370874
- github.comhttps://github.com/libarchive/libarchive/pull/2588
- github.comhttps://github.com/libarchive/libarchive/releases/tag/v3.8.0
07 Fixed in
Debian 12
- libarchive Fixed in 3.6.2-1+deb12u3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libarchive Fixed in 3.7.4-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libarchive Fixed in 3.7.4-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- libarchive Fixed in 3.6.0-1ubuntu1.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- libarchive Fixed in 3.7.2-2ubuntu0.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- libarchive Fixed in 3.7.7-0ubuntu3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libarchive Fixed in 3.1.2-7ubuntu2.8+esm4Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libarchive Fixed in 3.1.2-11ubuntu0.16.04.8+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libarchive Fixed in 3.2.2-3.1ubuntu0.7+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- libarchive Fixed in 3.4.0-2ubuntu1.5+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.