p PatchFirst

CVE-2025-25724

CVE-2025-25724

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.0 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libarchive

    Versions
    • ≥ 0, ≤ 3.7.7: Affected (semver)

    No fix published

  • libarchive Debian:12

    Versions
    • 3.6.2-1
    • 3.6.2-1+deb12u1
    • 3.6.2-1+deb12u2
    • 3.6.2-1+deb12u3
    • 3.6.2-1+deb12u4
    • 3.6.2-1+deb12u5
    • 3.7.2-1
    • 3.7.2-1.1
    • 3.7.2-1.1~exp1
    • 3.7.2-2
    • 3.7.2-2.1
    • 3.7.4-1
    • 3.7.4-1.1
    • 3.7.4-2
    • 3.7.4-3
    • 3.7.4-4
    • 3.8.4-1
    • 3.8.5-1
    • 3.8.6-1
    • 3.8.7-1
    • 3.8.8-1
    • 3.8.8-2
    • 3.8.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libarchive Debian:13

    Versions
    • 3.7.4-4
    • 3.7.4-4+deb13u1
    • 3.8.4-1
    • 3.8.5-1
    • 3.8.6-1
    • 3.8.7-1
    • 3.8.8-1
    • 3.8.8-2
    • 3.8.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libarchive Debian:14

    Versions
    • 3.7.4-4
    Affected ranges
    • ECOSYSTEM: < 3.8.4-1

    Update to 3.8.4-1

  • libarchive Ubuntu:Pro:14.04:LTS

    Versions
    • 3.1.2-5ubuntu1
    • 3.1.2-7ubuntu1
    • 3.1.2-7ubuntu2
    • 3.1.2-7ubuntu2.1
    • 3.1.2-7ubuntu2.2
    • 3.1.2-7ubuntu2.3
    • 3.1.2-7ubuntu2.4
    • 3.1.2-7ubuntu2.6
    • 3.1.2-7ubuntu2.7
    • 3.1.2-7ubuntu2.8
    • 3.1.2-7ubuntu2.8+esm1
    • 3.1.2-7ubuntu2.8+esm3
    Affected ranges
    • ECOSYSTEM: < 3.1.2-7ubuntu2.8+esm4

    Update to 3.1.2-7ubuntu2.8+esm4

  • libarchive Ubuntu:Pro:16.04:LTS

    Versions
    • 3.1.2-11build1
    • 3.1.2-11ubuntu0.16.04.1
    • 3.1.2-11ubuntu0.16.04.2
    • 3.1.2-11ubuntu0.16.04.3
    • 3.1.2-11ubuntu0.16.04.4
    • 3.1.2-11ubuntu0.16.04.5
    • 3.1.2-11ubuntu0.16.04.6
    • 3.1.2-11ubuntu0.16.04.7
    • 3.1.2-11ubuntu0.16.04.8
    • 3.1.2-11ubuntu0.16.04.8+esm1
    Affected ranges
    • ECOSYSTEM: < 3.1.2-11ubuntu0.16.04.8+esm2

    Update to 3.1.2-11ubuntu0.16.04.8+esm2

  • libarchive Ubuntu:Pro:18.04:LTS

    Versions
    • 3.2.2-3.1
    • 3.2.2-3.1ubuntu0.1
    • 3.2.2-3.1ubuntu0.2
    • 3.2.2-3.1ubuntu0.3
    • 3.2.2-3.1ubuntu0.4
    • 3.2.2-3.1ubuntu0.5
    • 3.2.2-3.1ubuntu0.6
    • 3.2.2-3.1ubuntu0.7
    • 3.2.2-3.1ubuntu0.7+esm1
    Affected ranges
    • ECOSYSTEM: < 3.2.2-3.1ubuntu0.7+esm2

    Update to 3.2.2-3.1ubuntu0.7+esm2

  • libarchive Ubuntu:20.04:LTS

    Versions
    • 3.4.0-1
    • 3.4.0-1build1
    • 3.4.0-1ubuntu2
    • 3.4.0-2ubuntu1
    • 3.4.0-2ubuntu1.1
    • 3.4.0-2ubuntu1.2
    • 3.4.0-2ubuntu1.3
    • 3.4.0-2ubuntu1.4
    Affected ranges
    • ECOSYSTEM: < 3.4.0-2ubuntu1.5

    Update to 3.4.0-2ubuntu1.5

  • libarchive Ubuntu:22.04:LTS

    Versions
    • 3.4.3-2
    • 3.4.3-2build1
    • 3.5.2-1
    • 3.5.2-1ubuntu1
    • 3.6.0-1ubuntu1
    • 3.6.0-1ubuntu1.1
    • 3.6.0-1ubuntu1.2
    • 3.6.0-1ubuntu1.3
    Affected ranges
    • ECOSYSTEM: < 3.6.0-1ubuntu1.4

    Update to 3.6.0-1ubuntu1.4

  • libarchive Ubuntu:24.04:LTS

    Versions
    • 3.6.2-1ubuntu1
    • 3.7.2-1ubuntu1
    • 3.7.2-1ubuntu2
    • 3.7.2-1.1ubuntu2
    • 3.7.2-2
    • 3.7.2-2ubuntu0.1
    • 3.7.2-2ubuntu0.2
    • 3.7.2-2ubuntu0.3
    Affected ranges
    • ECOSYSTEM: < 3.7.2-2ubuntu0.4

    Update to 3.7.2-2ubuntu0.4

  • libarchive Ubuntu:25.10

    Versions
    • 3.7.7-0ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.7.7-0ubuntu2.1

    Update to 3.7.7-0ubuntu2.1

Original sources

Check your server →