CWE
126
Advisory Published
Updated

CVE-2024-57970

First published: Sun Feb 16 2025(Updated: )

libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in archive_read_support_format_tar.c via a TAR archive because it mishandles truncation in the middle of a GNU long linkname.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
libarchive<=3.7.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-57970?

    CVE-2024-57970 is classified as a moderate vulnerability due to the potential for heap-based buffer over-reads.

  • How do I fix CVE-2024-57970?

    To fix CVE-2024-57970, upgrade libarchive to version 3.7.8 or later.

  • What causes the CVE-2024-57970 vulnerability?

    CVE-2024-57970 is caused by mishandling truncation during the processing of GNU long linknames in TAR archives.

  • Which versions of libarchive are affected by CVE-2024-57970?

    CVE-2024-57970 affects libarchive versions up to and including 3.7.7.

  • How can I determine if my system is vulnerable to CVE-2024-57970?

    To determine if your system is vulnerable to CVE-2024-57970, check if you are using libarchive version 3.7.7 or earlier.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203