Integer Overflow or Wraparound Affecting libarchive package, versions [,3.8.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBARCHIVE-10360261
  • published15 Jun 2025
  • disclosed20 May 2025
  • creditUnknown

Introduced: 20 May 2025

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

How to fix?

Upgrade libarchive to version 3.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the archive_read_support_format_warc.c process. An attacker can cause memory corruption or unpredictable program behavior by supplying a specially crafted WARC file with an excessively large content length value.

CVSS Base Scores

version 4.0
version 3.1