# CVE-2026-6100: Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure

- Severity: Critical 9.1 (CVSS:4.0, scored by PSF) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 54% of CVEs (2026-11-30)
- Published: 2026-04-13T17:15:47.606Z
- Modified: 2026-11-30T15:15:27.147Z
- Also known as: PSF-0000-CVE-2026-6100, BIT-LIBPYTHON-2026-6100, BIT-PYTHON-2026-6100, BIT-PYTHON-MIN-2026-6100, PSF-2026-18
- Weaknesses: CWE-416, CWE-787, CWE-825
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PSF

## Description

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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0a1 before 3.14.5rc1; from 3.15.0a1 before 3.15.0b1
- python3.12: no versions given (not affected: from 0:3.12.12-3.el10_1.3 before *; from 0:3.12.13-2.el10_2 before *; from 0:3.12.9-2.el10_0.9 before *; from 0:3.12.13-2.el8_10 before *; from 0:3.12.12-4.el9_7.3 before *; from 0:3.12.13-2.el9_8 before *; from 0:3.12.1-4.el9_4.13 before *; from 0:3.12.9-1.el9_6.8 before *)
- python3.14: no versions given (not affected: from 0:3.14.4-2.el10_2 before *; from 0:3.14.4-2.el9_8 before *)
- python3.11: no versions given (not affected: from 0:3.11.13-7.el8_10 before *; from 0:3.11.2-2.el8_8.10 before *; from 0:3.11.13-5.3.el9_7 before *; from 0:3.11.13-9.el9_8 before *; from 0:3.11.2-2.el9_2.12 before *; from 0:3.11.7-1.el9_4.13 before *; from 0:3.11.11-2.el9_6.7 before *)
- python3: no versions given (not affected: from 0:3.6.8-76.el8_10 before *; from 0:3.6.8-39.el8_4.11 before *; from 0:3.6.8-47.el8_6.13 before *; from 0:3.6.8-51.el8_8.15 before *)
- python3.9: no versions given (not affected: from 0:3.9.25-3.el9_7.3 before *; from 0:3.9.25-7.el9_8 before *; from 0:3.9.10-4.el9_0.11 before *; from 0:3.9.16-1.el9_2.14 before *; from 0:3.9.18-3.el9_4.13 before *; from 0:3.9.21-2.el9_6.6 before *)
- rhpam-7/rhpam-businesscentral-monitoring-rhel8: no versions given (not affected: from 7.13.5-4.1777325677 before *)
- rhpam-7/rhpam-businesscentral-rhel8: no versions given (not affected: from 7.13.5-4.1777325711 before *)
- rhpam-7/rhpam-controller-rhel8: no versions given (not affected: from 7.13.5-4.1777325710 before *)
- rhpam-7/rhpam-dashbuilder-rhel8: no versions given (not affected: from 7.13.5-3.1777325680 before *)
- rhpam-7/rhpam-kieserver-rhel8: no versions given (not affected: from 7.13.5-4.1777325709 before *)
- rhpam-7/rhpam-process-migration-rhel8: no versions given (not affected: from 7.13.5-4.1777325680 before *)
- rhpam-7/rhpam-smartrouter-rhel8: no versions given (not affected: from 7.13.5-4.1777325708 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1780681984 before *; from 1782352950 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1782352919 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1782353093 before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1782352847 before *)
- rhelai3/bootc-aws-cuda-rhel9: no versions given (not affected: from 1776871984 before *)
- rhelai3/bootc-azure-cuda-rhel9: no versions given (not affected: from 1776871985 before *)
- rhelai3/bootc-azure-rocm-rhel9: no versions given (not affected: from 1776872005 before *)
- rhelai3/bootc-cuda-rhel9: no versions given (not affected: from 1776773390 before *)
- rhelai3/bootc-gcp-cuda-rhel9: no versions given (not affected: from 1776871987 before *)
- rhelai3/bootc-rocm-rhel9: no versions given (not affected: from 1776773505 before *)
- rhelai3/disk-image-cuda-rhel9: no versions given (not affected: from 1776938871 before *)
- python3-13-main: no versions given (not affected: from 3.13.13-1.1.hum1 before *)
- python3-11-main: no versions given (not affected: from 3.11.15-4.hum1 before *)
- python3-12-main: no versions given (not affected: from 3.12.13-3.hum1 before *)
- python3-14-main: no versions given (not affected: from 3.14.4-2.hum1 before *)
- rhui5/cds-kubernetes-tp-rhel9: no versions given (not affected: from 1777459441 before *)
- rhui5/installer-tp-rhel9: no versions given (not affected: from 1777454300 before *)
- rhui5/rhua-tp-rhel9: no versions given (not affected: from 1777459504 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1779798159 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1779798164 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1779798165 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1779798222 before *)
- python: no versions given
- python36:3.6/python36: no versions given
- python39-devel:3.9/python39: no versions given
- redhat-user-workloads/bootc-cuda-aws-3-3: no versions given
- redhat-user-workloads/bootc-cuda-azure-3-3: no versions given
- redhat-user-workloads/bootc-cuda-gcp-3-3: no versions given
- redhat-user-workloads/bootc-rocm-azure-3-3: no versions given
- https://github.com/python/cpython: before 6a5f79c8d7bbf22b083b240910c7a8781a59437d; before 8fc66aef6d7b3ae58f43f5c66f9366cc8cbbfcd2; before c3cf71c3366fe49acb776a639405c0eea6169c20; before 47128e64f98c3a20271138a98c2922bea2a3ee0e; before e20c6c9667c99ecaab96e1a2b3767082841ffc8b; before ea8d735eb084cf8cc021df1a30e90d10a8f052e3
- python python: before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5; 3.15.0
- redhat ai_inference_server: from 3.2.0 before 3.2.2; from 3.3.0 before 3.3.5
- redhat hardened_images: no versions given
- redhat openshift_ai: from 3.4 before 3.4.3
- redhat openshift_container_platform: from 4.10 up to 4.12.103
- redhat update_infrastructure: from 5.0 before 5.2
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0; 10.0
- redhat enterprise_linux_ai: 3.0; 3.3
- redhat enterprise_linux_els: 7.0
- redhat enterprise_linux_eus: 8.4; 9.6; 10.0
- redhat enterprise_linux_for_update_services_for_sap_solutions: 9.2
- redhat enterprise_linux_server_tus: 8.6
- redhat enterprise_linux_server_update_services_for_sap_solutions: 8.6
- redhat enterprise_linux_tus: 8.8
- redhat enterprise_linux_update_services_for_sap_solutions: 8.8
- libpython (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5
- python (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5
- and 1 more: see the JSON

## Every score

- PSF: CVSS:4.0 9.1 Critical `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/python/cpython/pull/148396> (issue-tracking, patch, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/HTWB2Z6KT5QQX4RYEZAFININDHNOSIF3/> (advisory, mailing-list, vendor-advisory, web)
- <https://github.com/python/cpython/issues/148395> (issue-tracking, report, vendor-advisory, web)
- <https://github.com/python/cpython/commit/6a5f79c8d7bbf22b083b240910c7a8781a59437d> (fix, patch, web)
- <https://github.com/python/cpython/commit/8fc66aef6d7b3ae58f43f5c66f9366cc8cbbfcd2> (fix, patch, web)
- <https://github.com/python/cpython/commit/c3cf71c3366fe49acb776a639405c0eea6169c20> (fix, patch, web)
- <https://github.com/python/cpython/commit/47128e64f98c3a20271138a98c2922bea2a3ee0e> (fix, patch, release-notes, web)
- <https://github.com/python/cpython/commit/e20c6c9667c99ecaab96e1a2b3767082841ffc8b> (fix, patch, web)
- <https://github.com/python/cpython/commit/ea8d735eb084cf8cc021df1a30e90d10a8f052e3> (fix, patch, web)
- <http://www.openwall.com/lists/oss-security/2026/04/13/10> (mailing-list, third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-6100> (third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2457932> (issue-tracking, third-party-advisory, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6100.json> (third-party-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:52400> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:13812> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:16699> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10711> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19064> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19019> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:11077> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:11062> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10950> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19590> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17619> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19549> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:26187> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19571> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19570> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:13692> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:21682> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:14653> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17525> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19576> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:14652> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:14656> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10949> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10774> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10745> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19216> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19175> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19177> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19176> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:25096> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30078> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30089> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30088> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30087> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10140> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10141> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:8822> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:8824> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10117> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:9228> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:11768> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:21275> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6100> (web)

## Sources

- CVE List: [CVE-2026-6100](https://www.cve.org/CVERecord?id=CVE-2026-6100), CVE Terms of Use, modified 2026-08-13
- Python Software Foundation: [PSF-0000-CVE-2026-6100](https://osv.dev/vulnerability/PSF-0000-CVE-2026-6100), CC-BY-4.0, modified 2026-07-06
- Python Software Foundation: [PSF-2026-18](https://osv.dev/vulnerability/PSF-2026-18), CC-BY-4.0, modified 2026-08-05
- NVD: [CVE-2026-6100](https://nvd.nist.gov/vuln/detail/CVE-2026-6100), Public domain, modified 2026-11-30
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-6100](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-6100), Apache-2.0, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-6100](https://osv.dev/vulnerability/BIT-PYTHON-2026-6100), Apache-2.0, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-6100](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-6100), Apache-2.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-6100 · Whole record: https://cve.day/CVE-2026-6100.json · Rebuilt by cve.day 2026-11-30T15:17:18.010Z
