Out-of-bounds Read Affecting bsdtar package, versions *


Severity

Recommended
0.0
low
0
10

Based on CentOS 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-CENTOS8-BSDTAR-10334470
  • published9 Jun 2025
  • disclosed20 May 2025

Introduced: 20 May 2025

NewCVE-2025-5918  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 bsdtar.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bsdtar package and not the bsdtar package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.

CVSS Base Scores

version 3.1