CVE catalog

CVE-2025-25724

libarchive vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 4CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.37% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2fixed
Debianlibarchiveforky3.8.9-1fixed
Debianlibarchivetrixie3.7.4-4+deb13u1vulnerable
Debianlibarchivebookworm3.6.2-1+deb12u4vulnerable
Debianlibarchivebookworm-security3.6.2-1+deb12u5vulnerable
UbuntulibarchivenobleNot reportedvulnerable
Ubuntulibarchivenoble3.7.2-2ubuntu0.6fixed
Ubuntulibarchive-devnoble3.7.2-2ubuntu0.6fixed
Ubuntulibarchive-toolsnoble3.7.2-2ubuntu0.6fixed
Ubuntulibarchive13t64noble3.7.2-2ubuntu0.6fixed
Ubuntulibarchivenoble3.7.2-2ubuntu0.4fixed
Ubuntulibarchive-devnoble3.7.2-2ubuntu0.4fixed
Ubuntulibarchive-toolsnoble3.7.2-2ubuntu0.4fixed
Ubuntulibarchive13t64noble3.7.2-2ubuntu0.4fixed
Alpinelibarchive3.183.7.9-r0fixed
Alpinelibarchive3.193.7.9-r0fixed
Alpinelibarchive3.203.7.9-r0fixed
Alpinelibarchive3.213.7.9-r0fixed
Alpinelibarchive3.223.7.9-r0fixed
Alpinelibarchive3.233.7.9-r0fixed
Alpinelibarchive3.243.7.9-r0fixed
Ubuntulibarchivepro3.2.2-3.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.2vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.3vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.4vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.5vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.6vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm2fixed
Ubuntulibarchive20.043.4.0-1vulnerable
Ubuntulibarchive20.043.4.0-1build1vulnerable
Ubuntulibarchive20.043.4.0-1ubuntu2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.3vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.4vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.5fixed
Ubuntulibarchive22.043.4.3-2vulnerable
Ubuntulibarchive22.043.4.3-2build1vulnerable
Ubuntulibarchive22.043.5.2-1vulnerable
Ubuntulibarchive22.043.5.2-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.2vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.3vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.4fixed
Ubuntulibarchive24.043.6.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-1.1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.1vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.3vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.4fixed
Ubuntulibarchive25.103.7.7-0ubuntu2vulnerable
Ubuntulibarchive25.103.7.7-0ubuntu2.1fixed
Suselibarchivelinux enterprise micro 5.33.5.1-150400.3.18.1fixed
Suselibarchivelinux enterprise micro 5.43.5.1-150400.3.18.1fixed
Suselibarchivelinux enterprise micro 5.53.5.1-150400.3.18.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibarchivesourcesid3.8.4-1unimportantNot reported[1103479]
Debianlibarchivesourceforky3.8.4-1unimportantNot reported[1103479]
Debianlibarchivesourcetrixie(unfixed)unimportantNot reported[1103479]
Debianlibarchivesourcebookworm(unfixed)unimportantNot reported[1103479]
Ubuntulibarchivedebnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchive-devdebnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchive-toolsdebnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchive13t64debnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchivedebnoble3.7.2-2ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibarchive-devdebnoble3.7.2-2ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibarchive-toolsdebnoble3.7.2-2ubuntu0.4Not reportedNot reportedNot reported
Ubuntulibarchive13t64debnoble3.7.2-2ubuntu0.4Not reportedNot reportedNot reported
Alpinelibarchiveapk3.183.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Alpinelibarchiveapk3.193.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Alpinelibarchiveapk3.203.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Alpinelibarchiveapk3.213.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Alpinelibarchiveapk3.223.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Alpinelibarchiveapk3.233.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Alpinelibarchiveapk3.243.7.9-r0Not reportedALPINE-CVE-2025-25724Not reported
Ubuntulibarchivedebpro3.2.2-3.1ubuntu0.7+esm2Not reportedUBUNTU-CVE-2025-25724Not reported
Ubuntulibarchivedeb20.043.4.0-2ubuntu1.5Not reportedUBUNTU-CVE-2025-25724Not reported
Ubuntulibarchivedeb22.043.6.0-1ubuntu1.4Not reportedUBUNTU-CVE-2025-25724Not reported
Ubuntulibarchivedeb24.043.7.2-2ubuntu0.4Not reportedUBUNTU-CVE-2025-25724Not reported
Ubuntulibarchivedeb25.103.7.7-0ubuntu2.1Not reportedUBUNTU-CVE-2025-25724Not reported
Suselibarchiverpmlinux enterprise micro 5.33.5.1-150400.3.18.1Not reportedSUSE-SU-2025:0986-1Not reported
Suselibarchiverpmlinux enterprise micro 5.43.5.1-150400.3.18.1Not reportedSUSE-SU-2025:0986-1Not reported
Suselibarchiverpmlinux enterprise micro 5.53.5.1-150400.3.18.1Not reportedSUSE-SU-2025:0986-1Not reported

[Debian bug #1103479]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libarchive13]Affected

    Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • [libarchive-dev]Affected

    Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Affected

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

[Debian 13 (Trixie)]

  • [libarchive13t64]Affected

    Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Affected

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Affected

      usn · libarchive · debian · 13

  • [libarchive-dev]Affected

    Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Affected

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Affected

      usn · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Affected

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Affected

      usn · libarchive · debian · 13

Observed:

References