Integer Overflow or Wraparound Affecting libarchive-doc package, versions <3.8.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LIBARCHIVEDOC-13324874
  • published6 Oct 2025
  • disclosed9 Jun 2025

Introduced: 9 Jun 2025

CVE-2025-5916  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Minimos:latest libarchive-doc to version 3.8.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive-doc package and not the libarchive-doc package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1