Skip to content

[3.14] gh-148395: Fix a possible UAF in {LZMA,BZ2,_Zlib}Decompressor (GH-148396) - #148480

Merged
gpshead merged 1 commit into
python:3.14from
miss-islington:backport-8fc66ae-3.14
Apr 13, 2026
Merged

gpshead merged 1 commit into
python:3.14from
miss-islington:backport-8fc66ae-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Apr 13, 2026 •

Copy link
Copy Markdown
Contributor

Fix dangling input pointer after MemoryError in _lzma/_bz2/_ZlibDecompressor.decompress
(cherry picked from commit 8fc66ae)

Co-authored-by: Stan Ulbrych stan@python.org

…pythonGH-148396)

Fix dangling input pointer after `MemoryError` in _lzma/_bz2/_ZlibDecompressor.decompress
(cherry picked from commit 8fc66ae)

Co-authored-by: Stan Ulbrych <stan@python.org>
@gpshead
gpshead enabled auto-merge (squash) April 13, 2026 01:15
@gpshead
gpshead merged commit 6a5f79c into python:3.14 Apr 13, 2026
45 checks passed
@miss-islington
miss-islington deleted the backport-8fc66ae-3.14 branch April 13, 2026 01:40
octo-sts-6 Bot pushed a commit to wolfi-dev/os that referenced this pull request Apr 23, 2026
- **CVE-2026-6100** (Critical, CVSS 9.1) — Use-after-free in `lzma.LZMADecompressor`,
    `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a decompressor instance is re-used
    after MemoryError. Cherry-pick of commit `6a5f79c8` from the 3.14 branch.
    - GHSA: GHSA-pg25-7cx5-cvcm
    - Upstream: python/cpython#148480

- **CVE-2026-1502** (Medium) — CR/LF bytes not rejected in HTTP client proxy tunnel
    headers. Cherry-pick of commit `b1cf9016` from the 3.14 branch.
    - GHSA: GHSA-hjxq-7w9q-2jw6
    - Upstream: python/cpython#148342

- **CVE-2026-4786** (High) — Incomplete mitigation of CVE-2026-4519; `%action`
    substitution bypass of dash-prefix check in `webbrowser`. Cherry-pick of commit
    `d22922c8` from main (3.14 backport PR #148516 is open and mergeable; identical
    file changes verified).
    - GHSA: GHSA-cccx-m78h-m3xw
    - Upstream: python/cpython#148170

Signed-off-by: Brian Carey <brian.carey@chainguard.dev>

Export:  edefd2a320a9e3d0ed5d7eb99a5b6f5c35bcb7fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants