CVE-2023-29420
Description
An issue was discovered in libbzip3.a in bzip3 before 1.2.3. There is a crash caused by an invalid memmove in bz3_decode_block.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
bzip3 versions before 1.2.3 contain a heap-buffer-overflow in bz3_decode_block that causes a crash when processing a crafted compressed file.
Vulnerability
The vulnerability resides in the bz3_decode_block function in libbzip3.a (specifically in src/libbz3.c). When decompressing a specially crafted archive with the bzip3 -Bcd command, an invalid memmove leads to a heap-buffer-overflow in libsais_unbwt_calculate_biPSI within the libsais.h included library [1]. All versions prior to 1.2.3 are affected [1][2].
Exploitation
An attacker can trigger the vulnerability by providing a malformed bzip3 archive file. No authentication is required; the victim only needs to decompress the file using bzip3 -Bcd (or similar decompression). The fuzzing report indicates that the crash is reproducible with the provided testcases [1]. The exact sequence involves the libsais_unbwt path called from bz3_decode_block at line 680 of src/libbz3.c [1].
Impact
A successful exploit causes a heap-buffer-overflow, resulting in a program crash (denial of service) [1]. The crash is immediate and there is no evidence of code execution or information disclosure in the available references.
Mitigation
The issue is fixed in version 1.2.3 of bzip3 [2]. Users should upgrade to this version or later. Fedora has released package updates [3][4], but the content of those announcements is not accessible via the provided references. If upgrading is not possible, avoid decompressing untrusted bzip3 files as a workaround.
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
6- 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/commit/bb06deb85f1c249838eb938e0dab271d4194f8famitre
- github.com/kspalaiologos/bzip3/compare/1.2.2...1.2.3mitre
- github.com/kspalaiologos/bzip3/issues/92mitre
News mentions
0No linked articles in our index yet.