CVE-2025-25724

libarchive: Buffer Overflow vulnerability in libarchive

Published Mar 2, 2025 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
Description
list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-5869 list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.
Ubuntu USN Ubuntu USN USN-7454-1 libarchive vulnerabilities
Ubuntu USN Ubuntu USN USN-8147-1 libarchive vulnerabilities
History
Type Values Removed Values Added
First Time appeared Libarchive
Libarchive libarchive
CPEs cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
Vendors & Products Libarchive
Libarchive libarchive
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/o:redhat:enterprise_linux:10.0
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title libarchive: Buffer Overflow vulnerability in libarchive
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Description list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.
Weaknesses CWE-252
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 4, 2025, 7:00 PM
Reserved
Feb 7, 2025, 12:00 AM
Status
Analyzed
Published
Mar 2, 2025, 2:15 AM
Modified
Jun 17, 2026, 9:01 AM
Severity
Moderate
Public date
Mar 2, 2025, 12:00 AM