REDHAT-BUG-2412648: Medium severity Libarchive bsdtar vulnerability

Published Nov 5, 2025
·
Updated

An issue was discovered in libarchive bsdtar before version 3.8.1 in function applysubstitution in file tar/subst.c when processing crafted -s substitution rules. This can cause unbounded memory allocation and lead to denial of service (Out-of-Memory crash).

Affected Software

1 affected component
Libarchive bsdtar<3.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libarchive bsdtar to a version that resolves this vulnerability.

    Fixed in 3.8.1

Event History

Nov 5, 2025
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What input or access does an attacker need to trigger this issue?

The issue is triggered by crafted -s substitution rules processed by bsdtar. The provided data does not establish whether an attacker can supply those rules remotely or whether local command execution is required.

2

What is the practical impact of successful exploitation?

Processing a crafted substitution rule can cause unbounded memory allocation, leading to an out-of-memory crash and denial of service.

3

Which versions are affected?

bsdtar versions before 3.8.1 are affected according to the provided information. Update to version 3.8.1 or later when available for your distribution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203