REDHAT-BUG-2532805: Buffer Overflow

Published Sep 14, 2026
·
Updated

libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the original-filename field to archivecompressorgzipopen in archivewriteaddfiltergzip.c, aka GHSA-92wx-p669-8gr9. This relates to bsdtar. Exploitation envisions a marginally plausible scenario in which original-filename is obtained from an untrusted party. (original-filename is not derived from the input data.)

Affected Software

1 affected component
Libarchive libarchive<3.8.2

Event History

Sep 14, 2026
Data Sourced
via Red Hat·12:41 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

The issue is relevant to applications using the libarchive gzip writer, including bsdtar-related workflows, when they supply an original-filename value obtained from an untrusted party. The original-filename is not derived from archive input data.

2

What does an attacker need to control to exploit it?

An attacker would need influence over the original-filename field passed to archive_compressor_gzip_open. The described exploitation scenario is considered only marginally plausible because that value must be obtained from an untrusted source.

3

What can be done if updating is not immediately possible?

Do not pass untrusted values as the gzip writer original-filename field. Restrict this field to trusted, bounded values until libarchive is updated.

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