CVE-2025-5914: Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c

Published Jun 6, 2025
·
Updated

A vulnerability has been identified in the libarchive library, specifically within the archivereadformatrarseekdata() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.

Other sources

In libarchive before 3.8.0, an integer overflow in the archivereadformatrarseekdata() function may lead to a double free problem.

Red Hat

Libarchive: double free at archivereadformatrarseekdata() in archivereadsupportformatrar.c

Microsoft

Affected Software

12 affected componentsFixes available
Libarchive libarchive<3.8.0
Libarchive libarchive<3.8.0
redhat OpenShift Container Platform=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
Microsoft azl3 libarchive 3.7.7-2<3.7.7-3
3.7.7-3
Microsoft cbl2 libarchive 3.6.1-7<3.6.1-7
3.6.1-7
Microsoft cbl2 libarchive 3.6.1-6<3.6.1-7
3.6.1-7
Microsoft azl3 libarchive 3.7.7-3<3.7.7-3
3.7.7-3

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.7.7-3
  2. Upgrade

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

    Fixed in 3.6.1-7
  3. Upgrade

    Upgrade libarchive to a version that resolves this vulnerability.

    Fixed in 3.8.0

Event History

Jun 6, 2025
Data Sourced
via Red Hat·06:03 PM
DescriptionSeverityAffected Software
Jun 9, 2025
CVE Published
via MITRE·07:53 PM
Data Sourced
via MITRE·07:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·06:49 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·06:49 AM
Affected Software
Updated
via Microsoft·06:49 AM
SeverityAffected Software
Updated
via Microsoft·06:49 AM
Affected Software
Updated
via Microsoft·06:49 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-5914?

The severity of CVE-2025-5914 is high due to the potential for an integer overflow leading to a double-free condition.

2

How do I fix CVE-2025-5914?

To fix CVE-2025-5914, update the libarchive library to the latest version that addresses this vulnerability.

3

What are the potential impacts of exploiting CVE-2025-5914?

Exploiting CVE-2025-5914 may result in memory corruption, application crashes, or potential code execution depending on the context.

4

Which software is affected by CVE-2025-5914?

CVE-2025-5914 affects applications utilizing the libarchive library, particularly those handling RAR file formats.

5

Is CVE-2025-5914 a local or remote vulnerability?

CVE-2025-5914 can be exploited remotely if an attacker can manipulate file input to the affected applications.

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