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

Published Jun 8, 2026
·
Updated

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.

Other sources

bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow

Microsoft

Affected Software

6 affected componentsFixes available
Python Software Foundation CPython
debian/python3.11<=3.11.2-6+deb12u7, <=3.11.2-6+deb12u3
debian/python3.13<=3.13.5-2+deb13u2
3.13.14-1
debian/python3.14
3.14.6-1
debian/python3.9<=3.9.2-1, <=3.9.2-1+deb11u7
Microsoft azl3 python3 3.12.9-14<3.12.9-14
3.12.9-14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.14-1
  2. Upgrade

    Upgrade debian/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.6-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.12.9-14
  4. Upgrade

    Upgrade CPython bz2.BZ2Decompressor to a version that resolves this vulnerability.

    Patch CVE-2026-9669

Event History

Jun 8, 2026
CVE Published
via MITRE·10:01 PM
Data Sourced
via MITRE·10:01 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Jun 19, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Jul 6, 2026
Data Sourced
via Debian·01:33 PM
DescriptionAffected Software
Jul 7, 2026
Data Sourced
via Ubuntu·01:34 PM
RemedyDescriptionSeverityAffected Software
Jul 9, 2026
Data Sourced
via Launchpad·01:37 PM
Description
May 8, 58583
Event
via FIRST·07:03 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9669?

CVE-2026-9669 has a high severity rating of 8.2 according to the CVSS.

2

What type of vulnerability is described in CVE-2026-9669?

CVE-2026-9669 describes a stack buffer overflow vulnerability in the bz2.BZ2Decompressor due to object reuse after a decompression error.

3

How do I fix CVE-2026-9669?

To fix CVE-2026-9669, ensure you are using an updated version of the Python CPython bz2 module that has addressed this vulnerability.

4

What can be impacted by CVE-2026-9669?

CVE-2026-9669 can potentially impact applications using the bz2.BZ2Decompressor if they handle decompression errors poorly.

5

Is CVE-2026-9669 being actively exploited?

As of now, there are no known instances of CVE-2026-9669 being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203