Name | CVE-2025-25724 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1103479 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libarchive (PTS) | bullseye | 3.4.3-2+deb11u1 | vulnerable |
bullseye (security) | 3.4.3-2+deb11u2 | vulnerable | |
bookworm | 3.6.2-1+deb12u3 | vulnerable | |
bookworm (security) | 3.6.2-1+deb12u2 | vulnerable | |
forky, sid, trixie | 3.7.4-4 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libarchive | source | (unstable) | (unfixed) | unimportant | 1103479 |
https://github.com/Ekkosun/pocs/blob/main/bsdtarbug
https://github.com/libarchive/libarchive/issues/2529
Initial fix (incomplete): https://github.com/libarchive/libarchive/commit/c9bc934e7e91d302e0feca6e713ccc38d6d01532 (master)
Initial fix (incomplete): https://github.com/libarchive/libarchive/commit/8ce2aca6c7d6f004f860c6619cb6cc98d51ac69a (v3.7.8)
Proper fix proposal: https://github.com/libarchive/libarchive/issues/2710
Crash in CLI tool, no security impact