gh-148395: Fix a possible UAF in {LZMA,BZ2,_Zlib}Decompressor#148396
gh-148395: Fix a possible UAF in {LZMA,BZ2,_Zlib}Decompressor#148396gpshead merged 4 commits intopython:mainfrom
{LZMA,BZ2,_Zlib}Decompressor#148396Conversation
emmatyping
left a comment
There was a problem hiding this comment.
Thank you for fixing this!
{LZMA, BZ2, _Zlib}Decompressor{LZMA,BZ2,_Zlib}Decompressor
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…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>
|
GH-148479 is a backport of this pull request to the 3.13 branch. |
…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>
|
GH-148480 is a backport of this pull request to the 3.14 branch. |
|
Backporting everywhere, as this is GHSA-2fvp-c227-m694/CVE-2026-6100. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Sorry, @StanFromIreland and @gpshead, I could not cleanly backport this to |
…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>
|
GH-148503 is a backport of this pull request to the 3.12 branch. |
|
Sorry, @StanFromIreland and @gpshead, I could not cleanly backport this to |
…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>
|
GH-148504 is a backport of this pull request to the 3.11 branch. |
…pythonGH-148396) Fix dangling input pointer after `MemoryError` in _lzma/_bz2/_ZlibDecompressor.decompress (cherry picked from commit 8fc66ae)
|
GH-148505 is a backport of this pull request to the 3.10 branch. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
Sorry, @StanFromIreland and @gpshead, I could not cleanly backport this to |
|
Sorry, @StanFromIreland and @gpshead, I could not cleanly backport this to |
|
Apologies, I was working on an old version of the page without the 3.11/3.10 backports. Ignore the noise. |
{LZMA,BZ2,_Zlib}Decompressor#148395