CVE-2025-25724: libarchive 3.7.8 fixed CVE-2024-57970, CVE-2025-1632, & CVE-2025-25724

Published Mar 2, 2025
·
Updated

Last updated 23 April 2025

Other sources

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

NVD

Affected Software

8 affected componentsFixes available
Libarchive libarchive<3.7.8
debian/libarchive<=3.4.3-2+deb11u1, <=3.4.3-2+deb11u2, <=3.6.2-1+deb12u2, <=3.7.4-1.1, <=3.7.4-2
IBM MQ Operator<=SC2: v3.2.0 - v3.2.13 CD:  v3.3.0, v3.4.0, v3.4.1, v3.5.0, v3.5.1 - v3.6.0 LTS: v2.0.0 - 2.0.29
IBM supplied MQ Advanced container images<=SC2: 9.4.0.6-r1, 9.4.0.6-r2, 9.4.0.7-r1, 9.4.0.10-r1, 9.4.0.10-r2, 9.4.0.11-r1, 9.4.0.11-r2, 9.4.0.11-r3CD: 9.4.1.0-r1, 9.4.1.0-r2, 9.4.1.1-r1, 9.4.2.0-r1, 9.4.2.0-r2, 9.4.2.1-r1, 9.4.2.1-r2, 9.4.3.0-r1LTS: 9.3.0.0-r1, 9.3.0.0-r2, 9.3.0.0-r3, 9.3.0.1-r1, 9.3.0.1-r2, 9.3.0.1-r3, 9.3.0.1-r4, 9.3.0.3-r1, 9.3.0.4-r1, 9.3.0.4-r2, 9.3.0.5-r1, 9.3.0.5-r2, 9.3.0.5-r3, 9.3.0.6-r1, 9.3.0.10-r1, 9.3.0.10-r2, 9.3.0.11-r1,9.3.0.11-r2, 9.3.0.15-r1, 9.3.0.16-r1, 9.3.0.16-r2, 9.3.0.17-r1, 9.3.0.17-r2, 9.3.0.17-r3, 9.3.0.20-r1, 9.3.0.20-r2, 9.3.0.21-r1, 9.3.0.21-r2, 9.3.0.21-r3, 9.3.0.25-r1, 9.4.0.0-r1, 9.4.0.0-r2, 9.4.0.0-r3, 9.4.0.5-r1, 9.4.0.5-r2
Libarchive libarchive<=3.7.7
Microsoft azl3 libarchive 3.7.7-2<3.7.7-2
3.7.7-2
Microsoft cbl2 libarchive 3.6.1-6<3.6.1-5
3.6.1-5
Microsoft cbl2 libarchive 3.6.1-5<3.6.1-5
3.6.1-5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.6.1-5
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.7.7-2
  3. Upgrade

    Upgrade libarchive to a version that resolves this vulnerability.

    Fixed in 3.7.8
  4. Compensating control

    Do not use verbose extraction (tar/libarchive verbose value of 2) when processing untrusted/crafted TAR archives until upgrading to libarchive 3.7.8.

Event History

Mar 2, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 AM
Affected Software
Mar 19, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Apr 23, 2025
Data Sourced
via Ubuntu·11:36 PM
RemedyDescriptionSeverityAffected Software
Jul 23, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-25724?

CVE-2025-25724 has been classified as a medium severity vulnerability due to its potential to cause a denial of service.

2

How do I fix CVE-2025-25724?

To fix CVE-2025-25724, upgrade to libarchive version 3.7.8 or later where the vulnerability is addressed.

3

What impact can CVE-2025-25724 have on my system?

CVE-2025-25724 can lead to a denial of service or other unspecified impacts when processing crafted TAR archives.

4

Which versions of libarchive are affected by CVE-2025-25724?

CVE-2025-25724 affects libarchive versions prior to 3.7.8.

5

Can CVE-2025-25724 be exploited remotely?

Yes, CVE-2025-25724 can be exploited remotely if a vulnerable system processes a malicious TAR archive.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203