Description
BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bzip2 | 1.0.6-9.1 | — |
| Debian 14 | clamav | 0.101.4+dfsg-1 | — |
| Debian 13 | bzip2 | 1.0.6-9.1 | — |
| Debian 13 | clamav | 0.101.4+dfsg-1 | — |
| Debian 12 | bzip2 | 1.0.6-9.1 | — |
| Debian 12 | clamav | 0.101.4+dfsg-1 | — |
| Debian 8 | bzip2 | 1.0.6-7+deb8u1 | DLA-1833-1 |
| Debian 8 | clamav | 0.101.4+dfsg-0+deb8u1 | DLA-1953-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | bzip2 | 1.0.6-8.1ubuntu0.1 | USN-4038-1 |
| Ubuntu 18.04 LTS | clamav | 0.101.4+dfsg-0ubuntu0.18.04.1 | USN-4146-1 |
| Ubuntu 16.04 LTS | bzip2 | 1.0.6-8ubuntu0.1 | USN-4038-1 |
| Ubuntu 16.04 LTS | clamav | 0.101.4+dfsg-0ubuntu0.16.04.1 | USN-4146-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | bzip2 | 1.0.6-5ubuntu0.1~esm2 | USN-4038-2 |
| Ubuntu Pro 14.04 LTS | clamav | 0.101.4+dfsg-0ubuntu0.14.04.1+esm1 | USN-4146-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | bzip2 +2 | 1.0.8-10.el9_5 | RHSA-2025:0925 |
| RHEL 8 | bzip2 +2 | 1.0.6-27.el8_10 | RHSA-2025:0733, RHSA-2024:8922 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | bzip2 +2 | 1.0.8-8.el9_4.1 | RHSA-2024:10803 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | bzip2 +2 | 1.0.8-10.el9_5 | ALSA-2025:0925 |
| AlmaLinux 8 | bzip2 +2 | 1.0.6-27.el8_10 | ALSA-2025:0733, ALSA-2024:8922 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | bzip2 | 1.0.8-10.el9_5 | RLSA-2025:0925 |
| Rocky Linux 8 | bzip2 | 1.0.6-27.el8_10 | RLSA-2025:0733, RLSA-2024:8922 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | clamav | 0.103.0-3.23.1 | SUSE-SU-2020:3790-1 |
| SLES 15 SP1 | bzip2 | 1.0.6-5.6.1 | SUSE-SU-2019:2004-1, SUSE-SU-2019:1846-1 |
| SLES 15 SP1 | clamav | 0.100.3-3.14.1 | SUSE-SU-2020:3790-1, SUSE-SU-2019:3053-1 |
| SLES 15 | bzip2 | 1.0.6-5.6.1 | SUSE-SU-2019:2004-1, SUSE-SU-2019:1846-1 |
| SLES 15 | clamav | 0.100.3-3.14.1 | SUSE-SU-2019:3053-1 |
| SLES 12 SP5 | clamav | 0.103.0-3.3.1 | SUSE-SU-2020:3729-1 |
| SLES 12 SP4 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES 12 SP4 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES 12 SP3 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SLES 12 SP2 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES 12 SP2 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SLES 12 SP1 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES 12 SP1 | clamav | 0.100.3-33.26.1 | SUSE-SU-2019:3066-1 |
| SLES 11 SP4 | bzip2 | 1.0.5-34.256.5.1 | SUSE-SU-2019:14139-1, SUSE-SU-2019:14122-1 |
| SLES 11 SP4 | clamav | 0.100.3-0.20.26.1 | SUSE-SU-2019:14231-1 |
| SLES for SAP 12 SP5 | clamav | 0.103.0-3.3.1 | SUSE-SU-2020:3729-1 |
| SLES for SAP 12 SP4 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES for SAP 12 SP4 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SLES for SAP 12 SP3 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES for SAP 12 SP3 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SLES for SAP 12 SP2 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES for SAP 12 SP2 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SLES for SAP 12 SP1 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SLES for SAP 12 SP1 | clamav | 0.100.3-33.26.1 | SUSE-SU-2019:3066-1 |
| SUSE OpenStack Cloud Crowbar 9 | clamav | 0.103.0-33.32.1 | SUSE-SU-2020:3918-1 |
| SUSE OpenStack Cloud Crowbar 8 | bzip2 | 1.0.6-30.8.1 | SUSE-SU-2019:2013-1 |
| SUSE OpenStack Cloud Crowbar 8 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SUSE OpenStack Cloud 9 | clamav | 0.103.0-33.32.1 | SUSE-SU-2020:3918-1 |
| SUSE OpenStack Cloud 8 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SUSE OpenStack Cloud 8 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SUSE OpenStack Cloud 7 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SUSE OpenStack Cloud 7 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | bzip2 | 1.0.5-34.256.5.1 | SUSE-SU-2019:14139-1, SUSE-SU-2019:14122-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | clamav | 0.100.3-0.20.26.1 | SUSE-SU-2019:14231-1 |
| SUSE HPE Helion OpenStack 8 | bzip2 | 1.0.6-30.8.1 | SUSE-SU-2019:2013-1 |
| SUSE HPE Helion OpenStack 8 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SUSE Enterprise Storage 5 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-2, SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
| SUSE Enterprise Storage 5 | clamav | 0.100.3-33.26.1 | SUSE-SU-2020:3918-1, SUSE-SU-2019:3066-1 |
| SUSE Enterprise Storage 4 | bzip2 | 1.0.6-30.5.1 | SUSE-SU-2019:2013-1, SUSE-SU-2019:1955-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bzip2 | 1.0.8-3.2 | openSUSE-SU-2024:10667-1 |
| openSUSE Tumbleweed | clamav | 0.103.3-1.4 | openSUSE-SU-2024:10685-1 |
| openSUSE Leap 15.2 | clamav | 0.103.0-lp152.6.3.1 | openSUSE-SU-2020:2276-1 |
| openSUSE Leap 15.1 | bzip2 | 1.0.6-lp151.5.6.1 | openSUSE-SU-2019:1918-1, openSUSE-SU-2019:1781-1 |
| openSUSE Leap 15.1 | clamav | 0.100.3-lp151.2.3.1 | openSUSE-SU-2020:2268-1, openSUSE-SU-2019:2595-1 |
| openSUSE Leap 15.0 | bzip2 | 1.0.6-lp151.5.6.1 | openSUSE-SU-2019:1918-1, openSUSE-SU-2019:1781-1 |
| openSUSE Leap 15.0 | clamav | 0.100.3-lp150.2.13.1 | openSUSE-SU-2019:2597-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.23 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.22 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.21 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.20 | bzip2 | 1.0.6-r7 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.18 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.17 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.16 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.15 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.14 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.13 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.12 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.11 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.10 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.9 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.8 | bzip2 | 1.0.6-r7 | — |
| Alpine v3.7 | bzip2 | 1.0.6-r7 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | bzip2 +2 | 1.0.6-13.amzn2.0.3 | ALAS2-2021-1652 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | bzip2 +2 | 1.0.8-10.el9_5 | ELSA-2025-0925 |
| Oracle Linux 8 | bzip2 +2 | 1.0.6-27.0.1.el8_10 | ELSA-2025-0733, ELSA-2024-8922 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Hackage | bz2 | >= 0.1.0.0, < 1.0.1.1 | 1.0.1.1 | HSEC-2024-0002 |
| Hackage | bzlib | >= 0.4, < 0.5.2.0 | 0.5.2.0 | HSEC-2024-0002 |
| Hackage | bzlib-conduit | >= 0.1.0.0, < 0.3.0.3 | 0.3.0.3 | HSEC-2024-0002 |
Advisories 48
- ALSA-2025:0925 Moderate: bzip2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:8922 Low: bzip2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:0733 Moderate: bzip2 security update AlmaLinux Security Advisories · Oct 29, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- RHSA-2024:10803 Red Hat Security Advisory: bzip2 security update Red Hat Security Advisories (RHSA) · Aug 6, 2026
- RHSA-2025:0925 Red Hat Security Advisory: bzip2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2025:0733 Red Hat Security Advisory: bzip2 security and bug fix update Red Hat Security Advisories (RHSA) · Apr 28, 2026
- RHSA-2024:8922 Red Hat Security Advisory: bzip2 security update Red Hat Security Advisories (RHSA) · Apr 28, 2026
- USN-4146-2 clamav vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4146-1 clamav vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4038-2 bzip2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4038-1 bzip2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-1833-1 bzip2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1953-1 clamav - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2024:8922 Low: bzip2 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2025:0733 Moderate: bzip2 security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2019:1781-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:2276-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:2268-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1918-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:3053-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14122-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:3790-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10685-1 clamav-0.103.3-1.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2013-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14231-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:3066-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14139-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2004-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2597-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2595-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10667-1 bzip2-1.0.8-3.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:3729-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1846-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2013-2 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:3918-1 Security update for clamav SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1955-1 Security update for bzip2 SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0382 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Dec 9, 2025
- SSA-202008 SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 Siemens ProductCERT · Dec 9, 2025
- RLSA-2025:0925 Moderate: bzip2 security update Rocky Linux Security Advisories · Oct 9, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2023-3141 bzip2: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · May 14, 2025
- ELSA-2025-0925 Moderate: bzip2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Feb 3, 2025
- ELSA-2025-0733 Moderate: bzip2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 29, 2025
- WID-SEC-2024-3684 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 11, 2024
- ELSA-2024-8922 Low: bzip2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 11, 2024
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- ALAS2-2021-1652 Low: bzip2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 22, 2021
References
- [debian-lts-announce] 20190624 [SECURITY] [DLA 1833-1] bzip2 security update mailing-list
- USN-4038-2 vendor-advisory
- USN-4038-1 vendor-advisory
- 20190715 [slackware-security] bzip2 (SSA:2019-195-01) mailing-list
- [debian-lts-announce] 20190718 [SECURITY] [DLA 1833-2] bzip2 regression update mailing-list
- openSUSE-SU-2019:1781 vendor-advisory
- FreeBSD-SA-19:18 vendor-advisory
- 20190806 FreeBSD Security Advisory FreeBSD-SA-19:18.bzip2 mailing-list
- openSUSE-SU-2019:1918 vendor-advisory
- USN-4146-1 vendor-advisory
- USN-4146-2 vendor-advisory
- [debian-lts-announce] 20191010 [SECURITY] [DLA 1953-1] clamav security update mailing-list
- [debian-lts-announce] 20191014 [SECURITY] [DLA 1953-2] clamav regression update mailing-list
- openSUSE-SU-2019:2595 vendor-advisory
- openSUSE-SU-2019:2597 vendor-advisory
- [kafka-users] 20200413 CVEs for the dependency software guava and rocksdbjni of Kafka mailing-list
- https://www.oracle.com/security-alerts/cpuoct2020.html
- http://packetstormsecurity.com/files/153644/Slackware-Security-Advisory-bzip2-Updates.html
- http://packetstormsecurity.com/files/153957/FreeBSD-Security-Advisory-FreeBSD-SA-19-18.bzip2.html
- https://gitlab.com/federicomenaquintero/bzip2/commit/74de1e2e6ffc9d51ef9824db71a8ffee5962cdbc
- https://support.f5.com/csp/article/K68713584?utm_source=f5support&%3Butm_medium=RSS
- [flink-user] 20210716 Flink 1.13.1 - Vulnerabilities CVE-2019-12900 for librocksdbjni mailing-list
- [flink-user] 20210717 Re: Flink 1.13.1 - Vulnerabilities CVE-2019-12900 for librocksdbjni mailing-list