CVE-2023-29421
Description
An issue was discovered in libbzip3.a in bzip3 before 1.2.3. There is an out-of-bounds write in bz3_decode_block.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An out-of-bounds write in bz3_decode_block of bzip3 before 1.2.3 can lead to heap memory corruption and potential code execution.
Vulnerability
A heap-based buffer overflow write exists in bz3_decode_block() in libbzip3.a before version 1.2.3. The flaw occurs when decompressing specially crafted compressed data, resulting in a WRITE of size 3275521 bytes beyond the allocated heap buffer. The bug is triggered during the decoding phase of the bzip3 algorithm, specifically at line 709 in src/libbz3.c. All versions from the initial release up to 1.2.2 are affected. [1][2]
Exploitation
An attacker needs to provide a maliciously crafted compressed archive to a process using the bzip3 library for decompression. No special network position or authentication is required beyond the ability to deliver the crafted file (e.g., via a download, email attachment, or file upload). The attack triggers an out-of-bounds write in bz3_decode_block() when memcpy copies a large block into an undersized buffer. No user interaction beyond opening or processing the file is necessary. [2]
Impact
Successful exploitation leads to heap memory corruption, which can cause a crash (denial of service) and, depending on heap layout and attacker control, could be leveraged for arbitrary code execution. The vulnerability has a CVSS v3.1 base score of 9.8 (Critical), indicating remote code execution potential with low attack complexity and no privileges required. [1][2]
Mitigation
The issue is fixed in bzip3 version 1.2.3, released on 2023-04-06. Users must upgrade to 1.2.3 or later. No workaround is available for earlier versions. Fedora Linux package updates were issued on 2023-05-06 and 2023-05-07 (see references [3] and [4]). The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog as of this writing. [1][3][4]
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- bzip3/bzip3description
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4JLSE25SV7K2NB6FTFT4UHJOJUHBHYHY/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NA7S7HDUAINOTCSWQZ5LIW756DYY22V2/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMLFV2FJK3CM7NJLVPZI5RUAFQZICPWW/mitrevendor-advisory
- github.com/kspalaiologos/bzip3/compare/1.2.2...1.2.3mitre
- github.com/kspalaiologos/bzip3/issues/94mitre
News mentions
0No linked articles in our index yet.