CVE-2025-25724
4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| libarchive | libarchive | 0 <= 3.7.7 | affected |
Weaknesses
- CWE-252: CWE-252 Unchecked Return Value
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.