Integer Overflow or Wraparound Affecting bsdtar package, versions <0:3.5.3-5.el9_2


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.34% (27th 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-RHEL9-BSDTAR-12450391
  • published3 Sept 2025
  • disclosed20 May 2025

Introduced: 20 May 2025

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

How to fix?

Upgrade RHEL:9 bsdtar to version 0:3.5.3-5.el9_2 or higher.
This issue was patched in RHSA-2025:15024.

NVD Description

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

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.

CVSS Base Scores

version 3.1