جزئیات آسیب‌پذیری

CVE-2026-6100

Python Software Foundation CPythonRed Hat Enterprise Linux 7Red Hat Enterprise Linux AI 3

Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure

CVSS 4.0
9.1بحرانی

شرح رسمی (انگلیسی)

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.

امتیازهای CVSS

امتیازنسخهمنبعبردار
9.1بحرانی 4.0 CVEProject cvelistV5 (CNA) (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
8.1بالا 3.1 CVEProject cvelistV5 (CNA) (redhat-SADP) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

محصولات آسیب‌پذیر

فروشندهمحصولنسخه‌هامنبع
Python Software Foundation CPython v < 3.10.21 CVEProject cvelistV5 (CNA)
Python Software Foundation CPython 3.11.0 ≤ v < 3.11.16 CVEProject cvelistV5 (CNA)
Python Software Foundation CPython 3.12.0 ≤ v < 3.12.14 CVEProject cvelistV5 (CNA)
Python Software Foundation CPython 3.13.0 ≤ v < 3.13.14 CVEProject cvelistV5 (CNA)
Python Software Foundation CPython 3.14.0a1 ≤ v < 3.14.5rc1 CVEProject cvelistV5 (CNA)
Python Software Foundation CPython 3.15.0a1 ≤ v < 3.15.0b1 CVEProject cvelistV5 (CNA)
Red Hat Red Hat Enterprise Linux 7 همه CVEProject cvelistV5 (CNA)
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 همه CVEProject cvelistV5 (CNA)
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 همه CVEProject cvelistV5 (CNA)
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 همه CVEProject cvelistV5 (CNA)
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 همه CVEProject cvelistV5 (CNA)

منابع و راهنماها

۵۵
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیب‌پذیری‌های تازه را در تلگرام بگیرید.

اطلاعات

تاریخ انتشار
۱۴۰۵/۰۱/۲۴
آخرین به‌روزرسانی
۱۴۰۵/۰۵/۲۲
وضعیت
منتشرشده
صادرکننده (CNA)
PSF

پیش‌بینی بهره‌برداری (EPSS)

۰٫۵۷٪
احتمال بهره‌برداری در ۳۰ روز
۴۷٫۹٪
صدک (نسبت به همه‌ی CVEها)

ارزیابی SSVC (CISA)

قابل خودکارسازی
خیر
وضعیت بهره‌برداری
ندارد
اثر فنی
کامل

ضعف‌ها (CWE)

  • CWE-416
    Use after free
  • CWE-787
    Out-of-bounds write
  • CWE-825
    Expired Pointer Dereference