Integer overflow in the BZ2_decompress function in decompress.c in bzip2 and libbzip2 before 1.0.6 allows context-dependent attackers to cau
Integer overflow in the BZ2_decompress function in decompress.c in bzip2 and libbzip2 before 1.0.6 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted compressed file.
- Published
- Sep 28, 2010
- Updated
- Jun 16, 2026
- EPSS
- 3.3% · 88th percentile
- CWE
- CWE-189
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.3%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- bzip bzip2up to 1.0.5 inclusive
- bzip bzip20.9
- bzip bzip20.9_a
- bzip bzip20.9_b
- bzip bzip20.9_c
- bzip bzip20.9.0
- bzip bzip20.9.0a
- bzip bzip20.9.0b
- bzip bzip20.9.0c
- bzip bzip20.9.5_a
- bzip bzip20.9.5_b
- bzip bzip20.9.5_c
- bzip bzip20.9.5_d
- bzip bzip20.9.5a
- bzip bzip20.9.5b
- bzip bzip20.9.5c
- bzip bzip20.9.5d
- bzip bzip21.0
- bzip bzip21.0.1
- bzip bzip21.0.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | bzip2 | before 1.0.5-6 | 1.0.5-6 |
| Debian:12 | clamav | before 0.96.3+dfsg-1 | 0.96.3+dfsg-1 |
| Debian:5.0 | bzip2 | before 1.0.5-1+lenny1 | 1.0.5-1+lenny1 |
| openSUSE:Tumbleweed | bzip2 | before 1.0.6-37.82 | 1.0.6-37.82 |
| openSUSE:Tumbleweed | clamav | before 0.99.2-4.1 | 0.99.2-4.1 |
| Red Hat:enterprise_linux:3::as | bzip2 | before 0:1.0.2-14.EL3 | 0:1.0.2-14.EL3 |
| Red Hat:enterprise_linux:3::as | bzip2-debuginfo | before 0:1.0.2-14.EL3 | 0:1.0.2-14.EL3 |
| Red Hat:enterprise_linux:3::as | bzip2-devel | before 0:1.0.2-14.EL3 | 0:1.0.2-14.EL3 |
| Red Hat:enterprise_linux:3::as | bzip2-libs | before 0:1.0.2-14.EL3 | 0:1.0.2-14.EL3 |
| Red Hat:enterprise_linux:4::as | bzip2 | before 0:1.0.2-16.el4_8 | 0:1.0.2-16.el4_8 |
| Red Hat:enterprise_linux:4::as | bzip2-debuginfo | before 0:1.0.2-16.el4_8 | 0:1.0.2-16.el4_8 |
| Red Hat:enterprise_linux:4::as | bzip2-devel | before 0:1.0.2-16.el4_8 | 0:1.0.2-16.el4_8 |
| Red Hat:enterprise_linux:4::as | bzip2-libs | before 0:1.0.2-16.el4_8 | 0:1.0.2-16.el4_8 |
| Red Hat:enterprise_linux:5::client | bzip2-libs | before 0:1.0.3-6.el5_5 | 0:1.0.3-6.el5_5 |
| Red Hat:enterprise_linux:5::client_workstation | bzip2 | before 0:1.0.3-6.el5_5 | 0:1.0.3-6.el5_5 |
| Red Hat:enterprise_linux:5::client_workstation | bzip2-debuginfo | before 0:1.0.3-6.el5_5 | 0:1.0.3-6.el5_5 |
| Red Hat:enterprise_linux:5::client_workstation | bzip2-devel | before 0:1.0.3-6.el5_5 | 0:1.0.3-6.el5_5 |
| Red Hat:enterprise_linux:6::client | bzip2 | before 0:1.0.5-7.el6_0 | 0:1.0.5-7.el6_0 |
| Red Hat:enterprise_linux:6::client | bzip2-debuginfo | before 0:1.0.5-7.el6_0 | 0:1.0.5-7.el6_0 |
| Red Hat:enterprise_linux:6::client | bzip2-devel | before 0:1.0.5-7.el6_0 | 0:1.0.5-7.el6_0 |
| Red Hat:enterprise_linux:6::client | bzip2-libs | before 0:1.0.5-7.el6_0 | 0:1.0.5-7.el6_0 |
Same product
bzip: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-12900BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.41Plan
- CVE-2016-3189Use-after-free vulnerability in bzip2recover in bzip2 1.0.6 allows remote attackers to cause a denial of service (crash) via a crafted bzip231Monitor
- CVE-2005-1260bzip2 allows remote attackers to cause a denial of service (hard drive consumption) via a crafted bzip2 file that causes an infinite loop (a22Monitor
- CVE-2002-0759bzip2 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 t20Monitor
- CVE-2011-4089The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction,18Monitor
- CVE-2008-1372bzlib.c in bzip2 before 1.0.5 allows user-assisted remote attackers to cause a denial of service (crash) via a crafted file that triggers a 18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:bzip2 | 1.0.5-6 · Debian:12 | Package registry (OSV) |
| debian:clamav | 0.96.3+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:bzip2 | 1.0.6-37.82 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:clamav | 0.99.2-4.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:bzip2 | 0:1.0.2-14.EL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:bzip2-debuginfo | 0:1.0.2-14.EL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:bzip2-devel | 0:1.0.2-14.EL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:bzip2-libs | 0:1.0.2-14.EL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- High
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-189 · Numeric ErrorsCVSS vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- blogs.sun.com/security/entry/cve_2010_0405_integer_overflow
- git.clamav.net/gitweb?p=clamav-devel.git%3Ba=blob_plain%3Bf=ChangeLog%3Bhb=clamav-0.96.3
- lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- lists.fedoraproject.org/pipermail/package-announce/2010-November/051278.html
- lists.fedoraproject.org/pipermail/package-announce/2010-November/051366.html
- lists.opensuse.org/opensuse-security-announce/2010-10/msg00000.html
- marc.info/?l=oss-security&m=128506868510655&w=2
- secunia.com/advisories/41452
- secunia.com/advisories/41505
- secunia.com/advisories/42350
- secunia.com/advisories/42404
- secunia.com/advisories/42405
- secunia.com/advisories/42529
- secunia.com/advisories/42530
- secunia.com/advisories/48378
- security.gentoo.org/glsa/glsa-201301-05.xml
- support.apple.com/kb/HT4581
- www.bzip.org/
- www.redhat.com/support/errata/RHSA-2010-0703.html
- www.redhat.com/support/errata/RHSA-2010-0858.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.