{"schemaVersion":3,"id":"CVE-2025-5916","aliases":["UBUNTU-CVE-2025-5916","DEBIAN-CVE-2025-5916","openSUSE-SU-2025:15388-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-06-09T19:49:07.620Z","modified":"2026-09-01T12:08:15.976Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","exploitability":3.3,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","exploitability":3.3,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00211,"percentile":0.10801,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.02599999999999998,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00185},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00206,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00211,"percentile":0.10801}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00206,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00211,"percentile":0.10801}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libarchive","purlType":"deb","versions":[{"text":"< 3.6.2-1+deb12u3","noFixRecorded":false,"fixedIn":null},{"text":"< 3.7.4-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.2-1+deb12u3 | < 3.7.4-4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libarchive","purlType":"deb","versions":[{"text":"< 3.1.2-7ubuntu2.8+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 3.1.2-11ubuntu0.16.04.8+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.2-3.1ubuntu0.7+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.4.0-2ubuntu1.5+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.6.0-1ubuntu1.5","noFixRecorded":false,"fixedIn":null},{"text":"< 3.7.2-2ubuntu0.5","noFixRecorded":false,"fixedIn":null},{"text":"< 3.7.7-0ubuntu3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.2-7ubuntu2.8+esm4 | < 3.1.2-11ubuntu0.16.04.8+esm2 | < 3.2.2-3.1ubuntu0.7+esm2 | < 3.4.0-2ubuntu1.5+esm1 | < 3.6.0-1ubuntu1.5 | < 3.7.2-2ubuntu0.5 | < 3.7.7-0ubuntu3","eol":null,"hubHref":null},{"vendor":"libarchive","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.8.0","eol":null,"hubHref":"/vendor/libarchive/libarchive"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 7.0 | 8.0 | 9.0 | 10.0","eol":{"isEol":true,"eolDate":"2020-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6","label":"6 (ELS)","eolFrom":"2020-11-30T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"6.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"openshift_container_platform","name":"openshift container platform","label":"openshift_container_platform","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0","eol":null,"hubHref":"/vendor/redhat/openshift_container_platform"},{"vendor":"opensuse","product":"rpi-imager&distro=openSUSE Tumbleweed","name":"rpi-imager","label":"rpi-imager&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rpi-imager&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.9.5-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.5-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-5916","label":"access.redhat.com/security/cve/CVE-2025-5916","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370872","label":"bugzilla.redhat.com/show_bug.cgi?id=2370872","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://github.com/libarchive/libarchive/pull/2568","label":"github.com/libarchive/libarchive/pull/2568","hostname":"github.com","tags":["REPORT","Patch"]},{"url":"https://github.com/libarchive/libarchive/releases/tag/v3.8.0","label":"github.com/libarchive/libarchive/releases/tag/v3.8.0","hostname":"github.com","tags":["REPORT","Release Notes"]},{"url":"https://ubuntu.com/security/CVE-2025-5916","label":"ubuntu.com/security/CVE-2025-5916","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-5916","label":"www.cve.org/CVERecord?id=CVE-2025-5916","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/libarchive/libarchive/pull/2568/commits/bce70c4c26864df2a8d6953e7db6e4b156253508","label":"github.com/libarchive/libarchive/pull/2568/commits/bce70c4c26864df2a8d6953e7db6e4b156253508","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7601-1","label":"ubuntu.com/security/notices/USN-7601-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8147-1","label":"ubuntu.com/security/notices/USN-8147-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-5916","label":"security-tracker.debian.org/tracker/CVE-2025-5916","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-5916","label":"www.suse.com/security/cve/CVE-2025-5916","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5916","label":"nvd.nist.gov/vuln/detail/CVE-2025-5916","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4368-1","MGASA-2025-0200","SUSE-SU-2025:02522-1","SUSE-SU-2025:02522-2","SUSE-SU-2025:02566-1","SUSE-SU-2025:02718-1","SUSE-SU-2025:02718-2","SUSE-SU-2025:20560-1","SUSE-SU-2025:20594-1","USN-7601-1"],"duplicates":[],"related":["SUSE-SU-2025:02522-1","SUSE-SU-2025:02522-2","SUSE-SU-2025:02566-1","SUSE-SU-2025:02718-1","SUSE-SU-2025:02718-2","SUSE-SU-2025:20560-1","SUSE-SU-2025:20594-1","USN-7601-1","USN-8147-1"]},"timeline":[{"kind":"published","date":"2025-06-09T19:49:07.620Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-01T12:08:15.976Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:31:04.812Z","stale":false,"partial":false}}