Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError` and the decompression instance is re-used. This scenario can be triggered if the process is under memory pressure. The fix cleans up the dangling pointer in this specific error condition. The vulnerability is only present if the program re-uses decompressor instances across multiple decompression calls even after a `MemoryError` is raised during decompression. Using the helper functions to one-shot decompress data such as `lzma.decompress()`, `bz2.decompress()`, `gzip.decompress()`, and `zlib.decompress()` are not affected as a new decompressor instance is used per call. If the decompressor instance is not re-used after an error condition, this usage is similarly not vulnerable.
Any POC available?
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:10711 https://access.redhat.com/errata/RHSA-2026:10711
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:10745 https://access.redhat.com/errata/RHSA-2026:10745
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:10774 https://access.redhat.com/errata/RHSA-2026:10774
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:10949 https://access.redhat.com/errata/RHSA-2026:10949
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:10950 https://access.redhat.com/errata/RHSA-2026:10950
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:11062 https://access.redhat.com/errata/RHSA-2026:11062
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:11077 https://access.redhat.com/errata/RHSA-2026:11077
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2026:13692 https://access.redhat.com/errata/RHSA-2026:13692
This issue has been addressed in the following products: RHEL-8 based Middleware Containers Via RHSA-2026:13812 https://access.redhat.com/errata/RHSA-2026:13812
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2026:14653 https://access.redhat.com/errata/RHSA-2026:14653
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.6 Extended Update Support Via RHSA-2026:14652 https://access.redhat.com/errata/RHSA-2026:14652
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.6 Extended Update Support Via RHSA-2026:14656 https://access.redhat.com/errata/RHSA-2026:14656