CVE-2002-0759

Published Aug 12, 2002
·
Updated

bzip2 before 1.0.2 in FreeBSD 4.5 and earlier, OpenLinux 3.1 and 3.1.1, and possibly other operating systems, does not use the O_EXCL flag to create files during decompression and does not warn the user if an existing file would be overwritten, which could allow attackers to overwrite files via a bzip2 archive.

Affected Software

10 affected components
Bzip bzip2=1.0
Bzip bzip2=0.9.5d
Bzip bzip2=0.9.0a
Bzip bzip2=0.9.0
Bzip bzip2=0.9.5a
Bzip bzip2=0.9.5b
Bzip bzip2=0.9.0c
Bzip bzip2=1.0.1
Bzip bzip2=0.9.5c
Bzip bzip2=0.9.0b

Event History

Aug 12, 2002
CVE Published
04:00 AM
Apr 2, 2003
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What versions of bzip2 are affected by CVE-2002-0759?

CVE-2002-0759 affects bzip2 versions prior to 1.0.2, specifically 0.9.0 through 1.0.1.

2

What is the main issue with CVE-2002-0759?

CVE-2002-0759 allows attackers to overwrite files during decompression without warning, due to the absence of the O_EXCL flag.

3

How can I protect my system from CVE-2002-0759?

To protect against CVE-2002-0759, update bzip2 to version 1.0.2 or later.

4

What platforms are impacted by CVE-2002-0759?

CVE-2002-0759 affects FreeBSD 4.5 and earlier, OpenLinux 3.1 and 3.1.1, among possibly others.

5

Is there a workaround for CVE-2002-0759 if I cannot upgrade?

A workaround for CVE-2002-0759 is to manually verify file names before running the decompression to avoid unintentional overwriting.

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