CVE-2025-5914

Source
https://cve.org/CVERecord?id=CVE-2025-5914
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5914.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-5914
Downstream
ALSA (3)
AZL (2)
BELL (1)
CLSA (9)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (1)
MINI (1)
OESA (5)
RHSA (11)
RLSA (3)
ROOT (1)
SUSE (7)
UBUNTU (1)
Related
Published
2025-06-09T19:53:48Z
Modified
2026-11-17T07:02:06Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c
Details

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.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5914.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0:3.7.7-4.el10_0"
                        },
                        {
                            "fixed":  "0:3.1.2-14.el7_9.1"
                        },
                        {
                            "fixed":  "0:3.3.3-6.el8_10"
                        },
                        {
                            "fixed":  "0:3.3.2-8.el8_2.1"
                        },
                        {
                            "fixed":  "0:3.3.3-1.el8_4.1"
                        },
                        {
                            "fixed":  "0:3.3.3-1.el8_4.1"
                        },
                        {
                            "fixed":  "0:3.3.3-6.el8_6"
                        },
                        {
                            "fixed":  "0:3.3.3-6.el8_6"
                        },
                        {
                            "fixed":  "0:3.3.3-6.el8_6"
                        },
                        {
                            "fixed":  "0:3.3.3-5.el8_8.1"
                        },
                        {
                            "fixed":  "0:3.3.3-5.el8_8.1"
                        },
                        {
                            "fixed":  "0:3.5.3-6.el9_6"
                        },
                        {
                            "fixed":  "0:3.5.3-6.el9_6"
                        },
                        {
                            "fixed":  "0:3.5.3-2.el9_0.1"
                        },
                        {
                            "fixed":  "0:3.5.3-5.el9_2"
                        },
                        {
                            "fixed":  "0:3.5.3-4.el9_4.1"
                        },
                        {
                            "fixed":  "414.92.202510211419-0"
                        },
                        {
                            "fixed":  "415.92.202601271320-0"
                        },
                        {
                            "fixed":  "416.94.202601071926-0"
                        },
                        {
                            "fixed":  "417.94.202510112152-0"
                        },
                        {
                            "fixed":  "418.94.202510230424-0"
                        },
                        {
                            "fixed":  "4.19.9.6.202510140714-0"
                        },
                        {
                            "fixed":  "4.20.9.6.202509251656-0"
                        },
                        {
                            "fixed":  "1.11-19"
                        },
                        {
                            "fixed":  "1.11-8"
                        },
                        {
                            "fixed":  "1.12-4"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-10"
                        },
                        {
                            "fixed":  "1.36.0-10"
                        },
                        {
                            "fixed":  "1.36.0-4"
                        },
                        {
                            "fixed":  "1.36.0-9"
                        },
                        {
                            "fixed":  "1.36.0-12"
                        },
                        {
                            "fixed":  "1.36.0-18"
                        },
                        {
                            "fixed":  "1.36.0-11"
                        },
                        {
                            "fixed":  "1.36.0-7"
                        },
                        {
                            "fixed":  "v1.16.5-1760515757"
                        },
                        {
                            "fixed":  "1.8.0"
                        },
                        {
                            "fixed":  "1.8.0"
                        },
                        {
                            "fixed":  "1.8.0"
                        },
                        {
                            "fixed":  "v1.3"
                        },
                        {
                            "fixed":  "2.2.1-1758555934"
                        },
                        {
                            "fixed":  "1.5.6-1756187445"
                        },
                        {
                            "fixed":  "1.10.2-1757422110"
                        },
                        {
                            "fixed":  "1.10.2-1757421846"
                        },
                        {
                            "fixed":  "1.10.2-1757421804"
                        },
                        {
                            "fixed":  "1.10.2-1757422070"
                        },
                        {
                            "fixed":  "1.10.2-1757421879"
                        },
                        {
                            "fixed":  "1.10.2-1757422401"
                        },
                        {
                            "fixed":  "1.10.2-1757421890"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3.8.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "original_tag":  "v3.8.0",
            "range":  [
                {
                    "fixed":  "70ff28fcf04ec129a1d064f96e49aa57fcc90e37"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "cpe":  "cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3.8.0"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

v3.*
v3.0.0a
v3.0.1b
v3.1.900a
v3.2.0
v3.2.1
v3.2.2
v3.3.0
v3.3.1
v3.3.2
v3.3.3
v3.4.0
v3.4.1
v3.4.2
v3.4.3
v3.5.0
v3.5.1
v3.5.2
v3.6.0
v3.6.1
v3.6.2
v3.7.0
v3.7.1
v3.7.2
v3.7.3
v3.7.4
v3.7.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5914.json"