CVE-2025-5916

Source
https://cve.org/CVERecord?id=CVE-2025-5916
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5916.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5916
Downstream
Related
Published
2025-06-09T19:49:07.620Z
Modified
2026-07-02T03:51:32.545212812Z
Severity
  • 3.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L CVSS Calculator
Summary
Libarchive: integer overflow while reading warc files at archive_read_support_format_warc.c
Details

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. This bug affects libarchive versions prior to 3.8.0.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5916.json",
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-190"
    ]
}
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
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.8.0"
        },
        {
            "introduced": "0"
        },
        {
            "fixed": "3.8.0"
        }
    ],
    "cpe": "cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*"
}

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/osv-test-cve-osv-conversion/osv-output/CVE-2025-5916.json"