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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com patch
- mail.python.org vendor-advisory
- github.com issue-tracking
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- www.openwall.com
- cert-portal.siemens.com
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:67572 patch vendor-advisory
- RHSA-2026:68132 patch vendor-advisory
- RHSA-2026:68135 patch vendor-advisory
- RHSA-2026:68154 patch vendor-advisory
- RHSA-2026:68309 patch vendor-advisory
- Red Hat Bugzilla 2486590 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8509-1 vendor-advisory
- Debian Security Tracker CVE-2026-9669 vendor-advisory
- security.alpinelinux.org vendor-advisory