We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-5917

Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c



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.

Reserved 2025-06-09 | Published 2025-06-09 | Updated 2025-06-10 | Assigner redhat


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

Problem types

Out-of-bounds Write

Product status

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-5917 vdb-entry

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

github.com/libarchive/libarchive/pull/2588

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

cve.org (CVE-2025-5917)

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

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-5917

Support options

Helpdesk Chat, Email, Knowledgebase