René's URL Explorer Experiment


Title: [3.13] gh-156002: Bound zipfile decompression for bzip2/LZMA (GH-156003) (GH-156362) by miss-islington · Pull Request #156738 · python/cpython · GitHub

Open Graph Title: [3.13] gh-156002: Bound zipfile decompression for bzip2/LZMA (GH-156003) (GH-156362) by miss-islington · Pull Request #156738 · python/cpython

X Title: [3.13] gh-156002: Bound zipfile decompression for bzip2/LZMA (GH-156003) (GH-156362) by miss-islington · Pull Request #156738 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Patch by @tonghuaroot. zipfile.ZipExtFile._read1() bounds the output of each decompress() call for DEFLATE members by passing a max_length to zlib, but for bzip2 and LZMA, members it called decompr...

X Description: Patch by @tonghuaroot. zipfile.ZipExtFile._read1() bounds the output of each decompress() call for DEFLATE members by passing a max_length to zlib, but for bzip2 and LZMA, members it called decompr...

Mail addresses
encukou@gmail.com
tonghuaroot@gmail.com

Opengraph URL: https://github.com/python/cpython/pull/156738

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:17842353-f9df-522f-7554-c18a5c472d91
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA1A4:157C65:32523B4:431FF88:6B01F726
html-safe-nonceb637afa85936c8a71da3daca0d2bca1729f498df5ad27355a6834379045d4359
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUE0OjE1N0M2NTozMjUyM0I0OjQzMUZGODg6NkIwMUY3MjYiLCJ2aXNpdG9yX2lkIjoiMzk3OTk2ODA2NTUyNDg1NjYxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5c3801ea5779b29c4196f144f9d0a36e055808f73882885d4c8dc6cda32a49ea
hovercard-subject-tagpull_request:4405396982
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/156738/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f4408dcc04f49db1bc4686c0719d014be1a07fa4bb09a712ad113ad289f05332/python/cpython/pull/156738
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f4408dcc04f49db1bc4686c0719d014be1a07fa4bb09a712ad113ad289f05332/python/cpython/pull/156738
og:image:altPatch by @tonghuaroot. zipfile.ZipExtFile._read1() bounds the output of each decompress() call for DEFLATE members by passing a max_length to zlib, but for bzip2 and LZMA, members it called decompr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemiss-islington
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/156738#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156738
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156738
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/156738
Reloadhttps://github.com/python/cpython/pull/156738
Reloadhttps://github.com/python/cpython/pull/156738
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
Yhg1shttps://github.com/Yhg1s
python:3.13https://github.com/python/cpython/tree/3.13
miss-islington:backport-1b424c0-3.13https://github.com/miss-islington/cpython/tree/backport-1b424c0-3.13
Conversationhttps://github.com/python/cpython/pull/156738
Commits5 (5)https://github.com/python/cpython/pull/156738/commits
Checkshttps://github.com/python/cpython/pull/156738/checks
Files changedhttps://github.com/python/cpython/pull/156738/files
[3.13] gh-156002: Bound zipfile decompression for bzip2/LZMA (GH-156003) (GH-156362)https://github.com/python/cpython/pull/156738#top
Yhg1shttps://github.com/Yhg1s
python:3.13https://github.com/python/cpython/tree/3.13
miss-islington:backport-1b424c0-3.13https://github.com/miss-islington/cpython/tree/backport-1b424c0-3.13
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Aug 31, 2026https://github.com/python/cpython/pull/156738#issue-5303831763
Please reload this pagehttps://github.com/python/cpython/pull/156738
@tonghuaroothttps://github.com/tonghuaroot
f897dbfhttps://github.com/python/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4
1b424c0https://github.com/python/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8
Memory exhaustion via crafted zip file #156002https://github.com/python/cpython/issues/156002
Please reload this pagehttps://github.com/python/cpython/pull/156738
https://github.com/encukou
https://github.com/tonghuaroot
https://github.com/miss-islington
[3.15]https://github.com/python/cpython/pull/156738/commits/7a2b7388233ea0c647168c5792dc31f3051fe177
pythongh-156002https://github.com/python/cpython/issues/156002
: Bound zipfile decompression for bzip2/LZMA/Zs…https://github.com/python/cpython/pull/156738/commits/7a2b7388233ea0c647168c5792dc31f3051fe177
7a2b738https://github.com/python/cpython/pull/156738/commits/7a2b7388233ea0c647168c5792dc31f3051fe177
pythonGH-156003https://github.com/python/cpython/pull/156003
pythonGH-156362https://github.com/python/cpython/pull/156362
@tonghuaroothttps://github.com/tonghuaroot
f897dbfhttps://github.com/miss-islington/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4
1b424c0https://github.com/miss-islington/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8
Memory exhaustion via crafted zip file #156002 https://github.com/python/cpython/issues/156002
[3.15] gh-156002: Bound zipfile decompression for bzip2/LZMA/Zstandard (GH-156003) #156362 https://github.com/python/cpython/pull/156362
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 31, 2026https://github.com/python/cpython/pull/156738#event-30299562948
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 1, 2026https://github.com/python/cpython/pull/156738#issuecomment-5499040516
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/156738
fix: pin inspect-ai with the zipfile needs_input fix for CPython gh-156002 METR/hawk#1603 https://github.com/METR/hawk/pull/1603
Fix .eval reads failing with AttributeError '_needs_input' on Pythons carrying the gh-156002 zipfile change UKGovernmentBEIS/inspect_ai#5209 https://github.com/UKGovernmentBEIS/inspect_ai/pull/5209
https://github.com/encukou
Remove zstd test (3.14+)https://github.com/python/cpython/pull/156738/commits/d53a41e8cf0148af073c46abc36c2969adcb70c2
d53a41ehttps://github.com/python/cpython/pull/156738/commits/d53a41e8cf0148af073c46abc36c2969adcb70c2
https://github.com/encukou
encukouhttps://github.com/encukou
Sep 3, 2026https://github.com/python/cpython/pull/156738#event-30496042029
https://github.com/encukou
encukouhttps://github.com/encukou
Sep 4, 2026https://github.com/python/cpython/pull/156738#issuecomment-5540401859
Please reload this pagehttps://github.com/python/cpython/pull/156738
https://github.com/rasmusfaber
rasmusfaberhttps://github.com/rasmusfaber
Sep 8, 2026 https://github.com/python/cpython/pull/156738#ref-pullrequest-5387134261
gh-156002: Keep reading through third-party zipfile decompressors #157180 https://github.com/python/cpython/pull/157180
https://github.com/apps/ai-collaboration-app
ai-collaboration-apphttps://github.com/apps/ai-collaboration-app
Sep 8, 2026 https://github.com/python/cpython/pull/156738#ref-issue-5364654419
[stackstate-agent] Dev scan 34027081656: bump x/crypto to 0.56.0 and grpc to 1.83.1; krb5 and python rows need a human VEX or exception decision StackVista/stackstate-agent#509 https://github.com/StackVista/stackstate-agent/issues/509
epateyhttps://github.com/epatey
Sep 9, 2026 https://github.com/python/cpython/pull/156738#ref-commit-2e0e7df
https://github.com/rasmusfaber
https://github.com/epatey
Fix .eval reads failing with AttributeError '_needs_input' on Pythons…https://github.com/UKGovernmentBEIS/inspect_ai/commit/2e0e7dfbe2f66df937017a121175986acb64fa9b
2e0e7dfhttps://github.com/UKGovernmentBEIS/inspect_ai/commit/2e0e7dfbe2f66df937017a121175986acb64fa9b
#5209https://github.com/UKGovernmentBEIS/inspect_ai/pull/5209
CVE-2026-15310https://github.com/advisories/GHSA-xj79-6hh5-9w6q
python/cpython#156738https://github.com/python/cpython/pull/156738
https://github.com/encukou
encukouhttps://github.com/encukou
September 10, 2026 13:46https://github.com/python/cpython/pull/156738#event-30906322816
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 10, 2026https://github.com/python/cpython/pull/156738#event-30906326001
https://github.com/miss-islington
https://github.com/encukou
https://github.com/rasmusfaber
pythongh-156002https://github.com/python/cpython/issues/156002
: Keep reading through monkey-patched zipfile decompre…https://github.com/python/cpython/pull/156738/commits/f3f5234facd2ba491b3bff9e0ac9bd54378314ce
f3f5234https://github.com/python/cpython/pull/156738/commits/f3f5234facd2ba491b3bff9e0ac9bd54378314ce
pythonGH-157180https://github.com/python/cpython/pull/157180
pythonGH-157557https://github.com/python/cpython/pull/157557
f507e69https://github.com/miss-islington/cpython/commit/f507e6946a3194e83e1d7b8ee6e14567175e46de
https://github.com/encukou
encukouhttps://github.com/encukou
September 16, 2026 16:03https://github.com/python/cpython/pull/156738#event-31258680981
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 16, 2026https://github.com/python/cpython/pull/156738#event-31258684762
https://github.com/encukou
encukouhttps://github.com/encukou
Sep 16, 2026https://github.com/python/cpython/pull/156738#issuecomment-5700580804
#157180https://github.com/python/cpython/pull/157180
Please reload this pagehttps://github.com/python/cpython/pull/156738
https://github.com/encukou
Merge branch '3.13' into backport-1b424c0-3.13https://github.com/python/cpython/pull/156738/commits/1978b2de134802fc36d1d399703a03edab4a5754
1978b2dhttps://github.com/python/cpython/pull/156738/commits/1978b2de134802fc36d1d399703a03edab4a5754
https://github.com/apps/ai-collaboration-app
ai-collaboration-apphttps://github.com/apps/ai-collaboration-app
Sep 18, 2026 https://github.com/python/cpython/pull/156738#ref-pullrequest-5498090432
Fix embedded Python StringPrep with one upstream backport StackVista/stackstate-agent#529 https://github.com/StackVista/stackstate-agent/pull/529
https://github.com/Yhg1s
Merge branch '3.13' into backport-1b424c0-3.13https://github.com/python/cpython/pull/156738/commits/7f13d2651ec76a565e7bc4b3dc6250284738b308
7f13d26https://github.com/python/cpython/pull/156738/commits/7f13d2651ec76a565e7bc4b3dc6250284738b308
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
September 29, 2026 21:22https://github.com/python/cpython/pull/156738#event-32115519961
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
dcdd406https://github.com/python/cpython/commit/dcdd406ddbfc4cb29b24c3df17cbabe21d316ce1
Sep 29, 2026https://github.com/python/cpython/pull/156738#event-32117048234
Please reload this pagehttps://github.com/python/cpython/pull/156738
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 29, 2026https://github.com/python/cpython/pull/156738#event-32117051493
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
September 29, 2026 21:49https://github.com/python/cpython/pull/156738#event-32117053049
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156738
Please reload this pagehttps://github.com/python/cpython/pull/156738
Please reload this pagehttps://github.com/python/cpython/pull/156738
https://github.com/miss-islington
https://github.com/StanFromIreland
https://github.com/encukou
https://github.com/Yhg1s
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.