CVE-2026-6100
CRITICAL 9.1CVSS 4.0Use-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.
- Published
- 13 Apr 2026
- Last modified
- 30 Nov 2026
- Assigned by
- cna@python.org
- NVD status
- Analyzed
- Weakness
- CWE-416CWE-825
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@python.org (Secondary) | CVSS 4.0 | CRITICAL 9.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
< 3.10.21 | 3.10.21 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.16 | 3.11.16 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.12.0, < 3.12.14 | 3.12.14 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.13.0, < 3.13.14 | 3.13.14 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.14.0, < 3.14.5 | 3.14.5 |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | redhat | ai_inference_servercpe:2.3:a:redhat:ai_inference_server:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.2 | 3.2.2 |
| NVD | redhat | ai_inference_servercpe:2.3:a:redhat:ai_inference_server:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.5 | 3.3.5 |
| NVD | redhat | hardened_imagescpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | openshift_aicpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:* |
>= 3.4, < 3.4.3 | 3.4.3 |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:* |
>= 4.10, <= 4.12.103 | |
| NVD | redhat | update_infrastructurecpe:2.3:a:redhat:update_infrastructure:*:*:*:*:*:*:*:* |
>= 5.0, < 5.2 | 5.2 |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | redhat | enterprise_linux_aicpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | redhat | enterprise_linux_aicpe:2.3:o:redhat:enterprise_linux_ai:3.3:*:*:*:*:*:*:* |
= 3.3 | |
| NVD | redhat | enterprise_linux_elscpe:2.3:o:redhat:enterprise_linux_els:7.0:*:*:*:*:*:x64:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:9.6:*:*:*:*:*:*:* |
= 9.6 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | redhat | enterprise_linux_for_update_services_for_sap_solutionscpe:2.3:o:redhat:enterprise_linux_for_update_services_for_sap_solutions:9.2:*:*:*:*:*:*:* |
= 9.2 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:* |
= 8.6 | |
| NVD | redhat | enterprise_linux_server_update_services_for_sap_solutionscpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:* |
= 8.6 | |
| NVD | redhat | enterprise_linux_tuscpe:2.3:o:redhat:enterprise_linux_tus:8.8:*:*:*:*:*:*:* |
= 8.8 | |
| NVD | redhat | enterprise_linux_update_services_for_sap_solutionscpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:8.8:*:*:*:*:*:*:* |
= 8.8 |
References
- https://github.com/python/cpython/commit/47128e64f98c3a20271138a98c2922bea2a3ee0e · Release Notes, Patch
- https://github.com/python/cpython/commit/6a5f79c8d7bbf22b083b240910c7a8781a59437d · Patch
- https://github.com/python/cpython/commit/8fc66aef6d7b3ae58f43f5c66f9366cc8cbbfcd2 · Patch
- https://github.com/python/cpython/commit/c3cf71c3366fe49acb776a639405c0eea6169c20 · Patch
- https://github.com/python/cpython/commit/e20c6c9667c99ecaab96e1a2b3767082841ffc8b · Patch
- https://github.com/python/cpython/commit/ea8d735eb084cf8cc021df1a30e90d10a8f052e3 · Patch
- https://github.com/python/cpython/issues/148395 · Issue Tracking, Vendor Advisory
- https://github.com/python/cpython/pull/148396 · Issue Tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/HTWB2Z6KT5QQX4RYEZAFININDHNOSIF3/ · Mailing List, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/04/13/10 · Mailing List, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10117 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10140 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10141 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10711 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10745 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10774 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10949 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:10950 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:11062 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:11077 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:11768 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:13692 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:13812 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:14652 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:14653 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:14656 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:16699 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:17525 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:17619 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19019 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19064 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19175 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19176 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19177 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19216 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19549 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19570 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19571 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19576 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:19590 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:21275 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:21682 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:25096 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:26187 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30078 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30087 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30088 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30089 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:52400 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:8822 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:8824 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:9228 · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-6100 · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2457932 · Issue Tracking, Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6100.json · Third Party Advisory
History
- 30 Nov 2026 15:31 UTC · NVD: status Undergoing Analysis → Analyzed; affected list changed (35 entries)
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 Apr 2026)