{"id":"CVE-2025-25724","state":"PUBLISHED","title":"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","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.","publishedAt":"2025-03-02T00:00:00.000Z","updatedAt":"2025-03-04T19:00:41.262Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"mitre"},"assigner":"mitre","products":["libarchive libarchive"],"affected":[{"vendor":"libarchive","product":"libarchive","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.7.7","versionType":"semver"}]}],"references":["https://github.com/Ekkosun/pocs/blob/main/bsdtarbug","https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752","https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92"],"weaknesses":["CWE-252"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/25xxx/CVE-2025-25724.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-25724","state":"PUBLISHED","datePublished":"2025-03-02T00:00:00.000Z","dateUpdated":"2025-03-04T19:00:41.262Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-02-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"libarchive","product":"libarchive","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.7.7","versionType":"semver"}]}],"references":[{"url":"https://github.com/Ekkosun/pocs/blob/main/bsdtarbug"},{"url":"https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752"},{"url":"https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-252","description":"CWE-252 Unchecked Return Value","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-03-02T01:22:26.132Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*","versionEndIncluding":"3.7.7"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-04T19:00:32.541478Z","id":"CVE-2025-25724","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-04T19:00:41.262Z"}}]}}}