# CVE-2025-25724: listitemverbose 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…

- Severity: Medium 4.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-02T00:00:00.000Z
- Modified: 2026-06-17T09:01:02.647Z
- Weaknesses: CWE-252
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- libarchive libarchive: up to 3.7.7

## Every score

- mitre: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Ekkosun/pocs/blob/main/bsdtarbug> (exploit)
- <https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752> (product)
- <https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-25724](https://www.cve.org/CVERecord?id=CVE-2025-25724), CVE Terms of Use, modified 2025-03-04
- NVD: [CVE-2025-25724](https://nvd.nist.gov/vuln/detail/CVE-2025-25724), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-25724 · Whole record: https://cve.day/CVE-2025-25724.json · Rebuilt by cve.day 2026-11-25T22:58:54.835Z
