Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-25724
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 02:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-25724
Complete source record
{
"id": "9d74d77d34b3bed4ee43fe5b33885044efbea88f6506273c939de27944118bc4",
"url": "https://osv.dev/vulnerability/CVE-2025-25724",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-25724",
"summary": "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.",
"evidence": "osv:CVE-2025-25724",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-25724",
"aliases": [
"CVE-2025-25724"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libarchive/libarchive",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "b439d586f53911c84be5e380445a8a259e19114c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.7.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.7.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.7.7",
"v3.7.6",
"v3.7.5",
"v3.7.4",
"v3.7.3",
"v3.7.2",
"v3.7.1",
"v3.7.0",
"v3.6.2",
"v3.6.1",
"v3.6.0",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.4.3",
"v3.4.2",
"v3.4.1",
"v3.4.0",
"v3.3.3",
"v3.3.2",
"v3.3.1",
"v3.3.0",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.900a",
"v3.0.1b",
"v3.0.0a"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25724.json"
}
}
],
"modified": "2026-10-28T02:30:41.764865275Z",
"provider": "osv",
"references": [
"https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92",
"https://github.com/Ekkosun/pocs/blob/main/bsdtarbug",
"https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25724.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-25724"
],
"provider_metadata": {
"cwe_ids": [
"CWE-252"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25724.json"
}
},
"related_cves": [
{
"value": "CVE-2025-25724",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509446,
"published_at": "2025-03-02T00:00:00+00:00"
}