CVE-2025-5914
JSON

7.8high

Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() 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.

Affected

Product or packageVersionsReported by
libarchivebefore 3.8.0
Not affected: from 0:3.7.7-4.el10_0 before *, from 0:3.1.2-14.el7_9.1 before *, from 0:3.3.3-6.el8_10 before *, from 0:3.3.2-8.el8_2.1 before *, from 0:3.3.3-1.el8_4.1 before *, from 0:3.3.3-6.el8_6 before *
CVE List
openshift/ose-rhel-coreos-9Not specified
Not affected: from 414.92.202510211419-0 before *, from 415.92.202601271320-0 before *, from 416.94.202601071926-0 before *, from 417.94.202510112152-0 before *, from 418.94.202510230424-0 before *, from 4.19.9.6.202510140714-0 before *
CVE List
web-terminal/web-terminal-rhel9-operatorNot specified
Not affected: from 1.11-19 before *
CVE List
web-terminal/web-terminal-tooling-rhel9Not specified
Not affected: from 1.11-8 before *, from 1.12-4 before *
CVE List
openshift-serverless-1/logic-data-index-ephemeral-rhel8Not specified
Not affected: from 1.36.0-11 before *
CVE List
openshift-serverless-1/logic-data-index-postgresql-rhel8Not specified
Not affected: from 1.36.0-11 before *
CVE List
openshift-serverless-1/logic-db-migrator-tool-rhel8Not specified
Not affected: from 1.36.0-11 before *
CVE List
openshift-serverless-1/logic-jobs-service-ephemeral-rhel8Not specified
Not affected: from 1.36.0-10 before *
CVE List
openshift-serverless-1/logic-jobs-service-postgresql-rhel8Not specified
Not affected: from 1.36.0-10 before *
CVE List
openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8Not specified
Not affected: from 1.36.0-4 before *
CVE List
openshift-serverless-1/logic-management-console-rhel8Not specified
Not affected: from 1.36.0-9 before *
CVE List
openshift-serverless-1/logic-operator-bundleNot specified
Not affected: from 1.36.0-12 before *
CVE List

All scores

redhat7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() 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.

NVD (es)

Se ha identificado una vulnerabilidad en la librería libarchive, específicamente en la función archive_read_format_rar_seek_data(). Esta falla implica un desbordamiento de enteros que puede provocar una condición de doble liberación. Explotar una vulnerabilidad de doble liberación puede provocar corrupción de memoria, lo que permite a un atacante ejecutar código arbitrario o causar una denegación de servicio.

References

https://access.redhat.com/errata/RHSA-2025:14130third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14135third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14137third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14141third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14142third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14525third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14528third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14594third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14644third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14808third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14810third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:14828third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-5914 changed 2026-11-06CVE Terms of Use
NVDCVE-2025-5914 changed 2026-11-06Public domain