{"vuln_id":"CVE-2025-5917","aliases":[],"description":"A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.","published_at":"2025-06-09T20:15:27.330000Z","modified_at":"2026-11-25T17:17:30.050000Z","first_seen_at":"2026-11-25T18:36:04.249342Z","severity":"medium","severity_source":"nvd","cvss_score":5.0,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","cwe":["CWE-787"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.003,"epss_percentile":0.15127,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-5917"},"matched_alias":null,"items":[{"id":22866,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2025-5917: A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file n…","summary":"A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.\n\nReferences:\nhttps://access.redhat.com/security/cve/CVE-2025-5917\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2370874\nhttps://github.com/libarchive/libarchive/pull/2588\nhttps://github.com/libarchive/libarchive/releases/tag/v3.8.0","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5917","published_at":"2025-06-09T20:15:27.330000Z","updated_at":"2026-11-25T17:17:30.050000Z","fetched_at":"2026-11-25T18:36:04.068660Z","severity":"medium","cvss_score":5.0,"epss":0.003,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2025-5917","vuln_ids":["CVE-2025-5917"],"tags":["CWE-787"],"cluster_id":18758,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/22866","html":"https://vulnwatch.ve1ve2.com/item/22866"}}]}