# CVE-2025-25724

- Priority: **Routine**
- Reason: Not severe (CVSS 4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-02 · Modified: 2025-03-04
- Aliases: ALPINE-CVE-2025-25724, MGASA-2025-0102, SUSE-SU-2025:0986-1, RHSA-2025:9420, RHSA-2025:9431, RHSA-2026:24383, UBUNTU-CVE-2025-25724, DEBIAN-CVE-2025-25724, CGA-j2r7-h7cw-8r7j, CGA-wpqw-4ccw-qqvx
- Record: https://cvemate.com/vulnerability/CVE-2025-25724 · JSON: https://cvemate.com/vulnerability/CVE-2025-25724/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.367%, percentile 32.584%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine libarchive (Alpine Linux): \< 3.7.9-r0
- chainguard libarchive-dev (Chainguard): \< 3.7.7-r2
- wolfi libarchive-dev (Wolfi): \< 3.7.7-r2
- debian libarchive (Debian): All versions (No fix recorded) \| \< 3.8.4-1
- ubuntu libarchive (Ubuntu): \< 3.1.2-7ubuntu2.8+esm4 \| \< 3.1.2-11ubuntu0.16.04.8+esm2 \| \< 3.2.2-3.1ubuntu0.7+esm2 \| \< 3.4.0-2ubuntu1.5 \| \< 3.6.0-1ubuntu1.4 \| \< 3.7.2-2ubuntu0.4 \| \< 3.7.7-0ubuntu2.1
- libarchive libarchive: ≤ 3.7.7
- mageia libarchive (Mageia): \< 3.6.2-5.4.mga9
- redhat bsdcat-debuginfo (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat bsdcpio-debuginfo (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat bsdtar (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat bsdtar-debuginfo (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat bsdunzip-debuginfo (Red Hat): \< 0:3.7.7-3.el10\_0
- redhat libarchive (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat libarchive-debuginfo (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat libarchive-debugsource (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- redhat libarchive-devel (Red Hat): \< 0:3.7.7-3.el10\_0 \| \< 0:3.5.3-5.el9\_6 \| \< 0:3.5.3-5.el9\_4.1
- suse libarchive&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 3.5.1-150400.3.18.1
- suse libarchive&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 3.5.1-150400.3.18.1
- suse libarchive&distro=SUSE Linux Enterprise Micro 5.5 (SUSE Linux Enterprise): \< 3.5.1-150400.3.18.1

## References (first 20 of 26)

- <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>
- <https://security.alpinelinux.org/vuln/CVE-2025-25724>
- <https://advisories.mageia.org/MGASA-2025-0102.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34102>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/2VPBSF65DTMKEEGFEJY6QEGJSZY7TSKV/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250986-1/>
- <https://bugzilla.suse.com/1238610>
- <https://www.suse.com/security/cve/CVE-2025-25724>
- <https://access.redhat.com/errata/RHSA-2025:9420>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2349221>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_9420.json>
- <https://access.redhat.com/security/cve/CVE-2025-25724>
- <https://www.cve.org/CVERecord?id=CVE-2025-25724>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25724>
- <https://access.redhat.com/errata/RHSA-2025:9431>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_9431.json>
- <https://access.redhat.com/errata/RHSA-2026:24383>

---

Data as of 2026-12-05T06:07:57.415Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
