JLSEC-2026-2277: libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the...

Published Dec 3, 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 componentFixes available
julia/libarchive_jll>=3.8.0+0<3.8.2+0
3.8.2+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/LibArchive_jll to a version that resolves this vulnerability.

    Fixed in 3.8.2+0

Event History

Dec 3, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for exploitation?

An application must use the gzip writer and pass an attacker-controlled original-filename value to archive_compressor_gzip_open. The filename is not taken from archive input data, so processing a malicious archive alone does not trigger this issue; user interaction is also required by the supplied vector.

2

Are installations using the default bsdtar workflow likely affected?

The described scenario is considered only marginally plausible because exploitation requires original-filename to be obtained from an untrusted party. The data specifically relates the issue to bsdtar, but does not establish that a default configuration supplies an untrusted original-filename.

3

How can I determine whether my deployment is exposed?

Check whether the installed libarchive version is in the 3.8.x series before 3.8.2, and review callers that create gzip output. Exposure depends on whether those callers allow an untrusted party to control the original-filename argument.

4

What can be done before updating?

Do not pass untrusted values as the gzip original-filename. Restrict that field to trusted, validated filenames or omit it where possible.

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