Skip to content

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

Merged
pablogsal merged 2 commits into
python:3.11from
StanFromIreland:backport-8fc66ae-3.11
Apr 13, 2026
Merged

pablogsal merged 2 commits into
python:3.11from
StanFromIreland:backport-8fc66ae-3.11

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Apr 13, 2026 •

Copy link
Copy Markdown
Member

Fix dangling input pointer after MemoryError in {_lzma,_bz2}Decompressor.decompress()
(cherry picked from commit 8fc66ae)

…ressor` (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>
@StanFromIreland

Copy link
Copy Markdown
Member Author

_ZilbDecompressor is not affected, as it does not exist on 3.12 (added in eae7dad).

@pablogsal
pablogsal merged commit e20c6c9 into python:3.11 Apr 13, 2026
17 checks passed
@StanFromIreland
StanFromIreland deleted the backport-8fc66ae-3.11 branch April 13, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants