Reusing a Python BZ2Decompressor After a Caught Decompression Error Resumes From Invalid State and Writes Past a Stack Buffer on Untrusted Input
Last refreshed2026-11-16
Status: UPDATED
| Advisory ID: CVE-2026-9669
Key Details
CVE
CVE-2026-9669
CVSS Score / Version
8.2 (High) / CVSS v4.0
Updated
2026-11-10
Affected products
see table below
Classified as
CWE-121 (Stack-based Buffer Overflow)
Exploitation prediction (EPSS)
0.43% probability of exploitation in the next 30 days (38% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Python Software Foundation
CPython
Siemens
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
Siemens
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
Siemens
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
Siemens
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
Siemens
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
Subsystems
Controllers & Field I/O
Sectors
Multiple
What to Know
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. (NVD)
What to Do
Currently no fix is available. See further recommendations from section Mitigations. Source: Siemens SSA-457936