Integer Overflow or Wraparound Affecting bsdcpio package, versions *


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd 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-RHEL7-BSDCPIO-10334493
  • published9 Jun 2025
  • disclosed20 May 2025

Introduced: 20 May 2025

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

How to fix?

There is no fixed version for RHEL:7 bsdcpio.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bsdcpio package and not the bsdcpio package as distributed by RHEL. See How to fix? for RHEL:7 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.

CVSS Base Scores

version 3.1