Skip to content
Noroxi
CVE-2005-1260· NVD / CVE Program· CNA redhat

bzip2 allows remote attackers to cause a denial of service (hard drive consumption) via a crafted bzip2 file that causes an infinite loop (a

bzip2 allows remote attackers to cause a denial of service (hard drive consumption) via a crafted bzip2 file that causes an infinite loop (a.k.a "decompression bomb").

MediumCVSS 5.0 · v2.0—No exploit Fix available
Published
May 19, 2005
Updated
Jun 16, 2026
EPSS
6.2% · 93th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 6.2%

Affected systems

VendorProduct
bzipbzip2
canonicalubuntu linux
debiandebian linux
applemac os x

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple mac os xbefore 10.4.11
  • bzip bzip2before 1.0.3
  • canonical ubuntu linux4.10
  • canonical ubuntu linux5.04
  • debian debian linux3.0
  • debian debian linux3.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12bzip2before 1.0.2-71.0.2-7
Debian:3.0bzip2before 1.0.2-1.woody51.0.2-1.woody5
Red Hat:enterprise_linux:3::asbzip2before 0:1.0.2-11.EL3.40:1.0.2-11.EL3.4
Red Hat:enterprise_linux:3::asbzip2-debuginfobefore 0:1.0.2-11.EL3.40:1.0.2-11.EL3.4
Red Hat:enterprise_linux:3::asbzip2-develbefore 0:1.0.2-11.EL3.40:1.0.2-11.EL3.4
Red Hat:enterprise_linux:3::asbzip2-libsbefore 0:1.0.2-11.EL3.40:1.0.2-11.EL3.4
Red Hat:enterprise_linux:4::asbzip2before 0:1.0.2-13.EL4.30:1.0.2-13.EL4.3
Red Hat:enterprise_linux:4::asbzip2-debuginfobefore 0:1.0.2-13.EL4.30:1.0.2-13.EL4.3
Red Hat:enterprise_linux:4::asbzip2-develbefore 0:1.0.2-13.EL4.30:1.0.2-13.EL4.3
Red Hat:enterprise_linux:4::asbzip2-libsbefore 0:1.0.2-13.EL4.30:1.0.2-13.EL4.3

Same product

bzip: all records

Other 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 bzip2
    31Monitor
  • CVE-2010-0405Integer overflow in the BZ2_decompress function in decompress.c in bzip2 and libbzip2 before 1.0.6 allows context-dependent attackers to cau
    21Monitor
  • 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 t
    20Monitor
  • 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 / packageFixed versionSource
debian:bzip21.0.2-7 · Debian:12Package registry (OSV)
red hat:bzip20:1.0.2-11.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:bzip2-debuginfo0:1.0.2-11.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:bzip2-devel0:1.0.2-11.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:bzip2-libs0:1.0.2-11.EL3.4 · Red Hat:enterprise_linux:3::asPackage 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.

EPSS, last 120 days

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.

Finders, 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

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
None
Integrity impact
None
Availability impact
P

CVSS vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; 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 help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records