Skip to content

CVE-2026-9669 bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow

HighCVSS 8.2 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known

Description

bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor, crafted input could cause the decompressor to resume from an invalid internal state and perform out-of-bounds writes to a stack buffer. This could crash the process when processing untrusted data.

Affected products

ProductAffected versionsFixed in
Python Software Foundation CPython < 3.10.21 3.10.21
Python Software Foundation CPython >= 3.11.0, < 3.11.16 3.11.16
Python Software Foundation CPython >= 3.12.0, < 3.12.14 3.12.14
Python Software Foundation CPython >= 3.13.0, < 3.13.14 3.13.14
Python Software Foundation CPython >= 3.14.0, < 3.14.6 3.14.6
Python Software Foundation CPython >= 3.15.0a1, < 3.15.0b3 3.15.0b3
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= V3.1.7 No fix listed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= V3.1.7 No fix listed
redhat/python3-14-main(Red Hat:hummingbird:1) < 3.14.7-1.2.hum1 3.14.7-1.2.hum1
redhat/python3-10-main(Red Hat:hummingbird:1) < 3.10.21-1.3.hum1 3.10.21-1.3.hum1
redhat/python3-11-main(Red Hat:hummingbird:1) < 3.11.16-1.4.hum1 3.11.16-1.4.hum1
redhat/python3-12-main(Red Hat:hummingbird:1) < 3.12.14-1.3.hum1 3.12.14-1.3.hum1
redhat/python3-13-main(Red Hat:hummingbird:1) < 3.13.15-1.3.hum1 3.13.15-1.3.hum1
redhat/python36(Red Hat:enterprise_linux:8) All versions No fix listed
ubuntu/python3.10(Ubuntu:22.04) < 3.10.12-1~22.04.16 3.10.12-1~22.04.16
ubuntu/python2.7(Ubuntu:22.04) All versions No fix listed
ubuntu/python3.11(Ubuntu:22.04) All versions No fix listed
debian/python3.11(Debian:12) < 3.11.2-6+deb12u9 3.11.2-6+deb12u9
debian/python3.11(Debian:12) = 3.11.2-6 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u1 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u2 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u3 No fix listed
Show 38 more
ProductAffected versionsFixed in
debian/python3.11(Debian:12) = 3.11.2-6+deb12u4 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u5 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u6 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u7 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u8 No fix listed
debian/python3.13(Debian:13) < 3.13.5-2+deb13u3 3.13.5-2+deb13u3
debian/python3.13(Debian:13) = 3.13.5-2 No fix listed
debian/python3.13(Debian:13) = 3.13.5-2+deb13u1 No fix listed
debian/python3.13(Debian:13) = 3.13.5-2+deb13u2 No fix listed
debian/python3.14(Debian:14) < 3.14.6-1 3.14.6-1
debian/python3.14(Debian:14) = 3.14.0-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0-2 No fix listed
debian/python3.14(Debian:14) = 3.14.0-3 No fix listed
debian/python3.14(Debian:14) = 3.14.0-4 No fix listed
debian/python3.14(Debian:14) = 3.14.0-5 No fix listed
debian/python3.14(Debian:14) = 3.14.0~a7-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~b1-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~b2-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~b3-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~b4-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~rc1-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~rc2-1 No fix listed
debian/python3.14(Debian:14) = 3.14.0~rc3-1 No fix listed
debian/python3.14(Debian:14) = 3.14.2-1 No fix listed
debian/python3.14(Debian:14) = 3.14.3-1 No fix listed
debian/python3.14(Debian:14) = 3.14.3-2 No fix listed
debian/python3.14(Debian:14) = 3.14.3-3 No fix listed
debian/python3.14(Debian:14) = 3.14.3-4 No fix listed
debian/python3.14(Debian:14) = 3.14.3-5 No fix listed
debian/python3.14(Debian:14) = 3.14.4-1 No fix listed
debian/python3.14(Debian:14) = 3.14.4-2 No fix listed
debian/python3.14(Debian:14) = 3.14.5-1 No fix listed
debian/python3.14(Debian:14) = 3.14.5~rc1-1 No fix listed
alpine/python3(Alpine:v3.24) < 3.14.7-r0 3.14.7-r0
ubuntu/python3.12(Ubuntu:24.04) < 3.12.3-1ubuntu0.15 3.12.3-1ubuntu0.15
ubuntu/python3.14(Ubuntu:26.04) < 3.14.4-1ubuntu0.1 3.14.4-1ubuntu0.1
azure linux python3(Azure Linux:3.0) All versions No fix listed
azure linux python3(Azure Linux:3.0) < 3.12.9-14 3.12.9-14

References