CVE-2002-0759 in Bzip2
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bzip | Bzip2 | 0.9.0 0.9.0a 0.9.0b 0.9.0c 0.9.5a 0.9.5b+4 more0.9.5c 0.9.5d 1.0 1.0.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2002-0759 |
|---|---|
| BreachSpider ID | BS-2002-GLOBAL-351084-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Published | 2002-08-12 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2002. A medium severity vulnerability affects Bzip systems (CVE-2002-0759). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2002-0759?
This vulnerability was disclosed in 2002. A medium severity vulnerability affects Bzip systems (CVE-2002-0759). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2002-0759?
CVE-2002-0759 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. EPSS: 1.3%.
Is CVE-2002-0759 actively exploited?
No confirmed active exploitation of CVE-2002-0759 as of 2026-09-25.
How do I remediate CVE-2002-0759?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2002-0759?
CVE-2002-0759 affects Bzip Bzip2.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bzip","product":"Bzip2","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.