René's URL Explorer Experiment


Title: [3.12] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) by StanFromIreland · Pull Request #151401 · python/cpython · GitHub

Open Graph Title: [3.12] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) by StanFromIreland · Pull Request #151401 · python/cpython

X Title: [3.12] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) by StanFromIreland · Pull Request #151401 · python/cpython

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

Open Graph Description: Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" [1] attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.expat.Pa...

X Description: Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" [1] attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers....

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

X: @github

direct link

Domain: github.com

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:8146253a-9292-c094-d201-fc5d707da64d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB3CA:6ED1:BD5CE3:1020565:6A55BC3A
html-safe-noncea1315a9579c302db681dc6dd00d70e1c349e48f2d900d8fb0c6df4d697136c72
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0NBOjZFRDE6QkQ1Q0UzOjEwMjA1NjU6NkE1NUJDM0EiLCJ2aXNpdG9yX2lkIjoiNzg2MzMwNzYxODg4NjQ0MTU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacab0eb8ccce89ca23a23088845b2933bf63586ecf818e27cd9d3d06abe8dcd999
hovercard-subject-tagpull_request:3854913447
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/151401/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/04d2303dbf962fe35757ae740599de16098c24ea5cac973672add8ac63e37422/python/cpython/pull/151401
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04d2303dbf962fe35757ae740599de16098c24ea5cac973672add8ac63e37422/python/cpython/pull/151401
og:image:altExpose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" [1] attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.expat.Pa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameStanFromIreland
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
release64b9ae238e18eb87ead1f9fe37a7cc81d67d85aa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/151401#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151401
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151401
Sign up https://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/151401
Reloadhttps://github.com/python/cpython/pull/151401
Reloadhttps://github.com/python/cpython/pull/151401
Please reload this pagehttps://github.com/python/cpython/pull/151401
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/151401
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
StanFromIrelandhttps://github.com/StanFromIreland
python:3.12https://github.com/python/cpython/tree/3.12
StanFromIreland:backport-19bc391-3.12https://github.com/StanFromIreland/cpython/tree/backport-19bc391-3.12
Conversationhttps://github.com/python/cpython/pull/151401
Commits1 (1)https://github.com/python/cpython/pull/151401/commits
Checkshttps://github.com/python/cpython/pull/151401/checks
Files changedhttps://github.com/python/cpython/pull/151401/files
[3.12] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368)https://github.com/python/cpython/pull/151401#top
StanFromIrelandhttps://github.com/StanFromIreland
python:3.12https://github.com/python/cpython/tree/3.12
StanFromIreland:backport-19bc391-3.12https://github.com/StanFromIreland/cpython/tree/backport-19bc391-3.12
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jun 12, 2026https://github.com/python/cpython/pull/151401#issue-4649541669
Please reload this pagehttps://github.com/python/cpython/pull/151401
f04bea4https://github.com/python/cpython/commit/f04bea44c37793561d753dd4ca6e7cd658137553
https://en.wikipedia.org/wiki/Billion_laughs_attackhttps://en.wikipedia.org/wiki/Billion_laughs_attack
6661123https://github.com/python/cpython/commit/666112376d574c7802646ee1df6244062671cd61
19bc391https://github.com/python/cpython/commit/19bc39127e5c916c42c54487a1ae68be76582f50
Expose Expat XML attack protection APIs #90949https://github.com/python/cpython/issues/90949
Please reload this pagehttps://github.com/python/cpython/pull/151401
https://github.com/StanFromIreland
https://github.com/picnixz
[3.12]https://github.com/python/cpython/pull/151401/commits/ed5f55e864faeea545d51d69be48bbe6531cf2cc
pythongh-90949https://github.com/python/cpython/issues/90949
: expose Expat API to tune exponential expansion…https://github.com/python/cpython/pull/151401/commits/ed5f55e864faeea545d51d69be48bbe6531cf2cc
ed5f55ehttps://github.com/python/cpython/pull/151401/commits/ed5f55e864faeea545d51d69be48bbe6531cf2cc
pythonGH-139368https://github.com/python/cpython/pull/139368
f04bea4https://github.com/StanFromIreland/cpython/commit/f04bea44c37793561d753dd4ca6e7cd658137553
https://en.wikipedia.org/wiki/Billion_laughs_attackhttps://en.wikipedia.org/wiki/Billion_laughs_attack
6661123https://github.com/StanFromIreland/cpython/commit/666112376d574c7802646ee1df6244062671cd61
19bc391https://github.com/StanFromIreland/cpython/commit/19bc39127e5c916c42c54487a1ae68be76582f50
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
picnixzhttps://github.com/picnixz
June 12, 2026 13:18https://github.com/python/cpython/pull/151401#event-26676761889
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 12, 2026https://github.com/python/cpython/pull/151401#event-26676764974
Expose Expat XML attack protection APIs #90949 https://github.com/python/cpython/issues/90949
gh-90949: expose Expat API to tune exponential expansion protections #139368 https://github.com/python/cpython/pull/139368
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jun 12, 2026https://github.com/python/cpython/pull/151401#issuecomment-4691650030
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33112421https://app.readthedocs.org/projects/cpython-previews/builds/33112421/
ed5f55ehttps://github.com/python/cpython/commit/ed5f55e864faeea545d51d69be48bbe6531cf2cc
mainhttps://cpython-previews.readthedocs.io/en/main/
6b217eahttps://github.com/python/cpython/commit/6b217ea90b9cd694fded6308bc796e324bbacd19
  🔍 Preview build   https://cpython-previews--151401.org.readthedocs.build/en/151401/
c-api/objbuffer.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/objbuffer.html
library/2to3.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/library/2to3.html
library/tkinter.tix.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/library/tkinter.tix.html
about.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/about.html
bugs.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/bugs.html
copyright.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/copyright.html
glossary.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/glossary.html
index.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/index.html
license.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/license.html
py-modindex.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/py-modindex.html
c-api/abstract.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/abstract.html
c-api/allocation.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/allocation.html
c-api/apiabiversion.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/apiabiversion.html
404.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/404.html
improve-page-nojs.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/improve-page-nojs.html
improve-page.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/improve-page.html
_static/tachyon-example-flamegraph.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/_static/tachyon-example-flamegraph.html
_static/tachyon-example-heatmap.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/_static/tachyon-example-heatmap.html
c-api/curses.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/curses.html
c-api/extension-modules.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/extension-modules.html
c-api/interp-lifecycle.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/interp-lifecycle.html
c-api/lifecycle.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/lifecycle.html
c-api/monitoring.htmlhttps://cpython-previews--151401.org.readthedocs.build/en/151401/c-api/monitoring.html
Please reload this pagehttps://github.com/python/cpython/pull/151401
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jun 25, 2026 https://github.com/python/cpython/pull/151401#ref-issue-4331386165
[CVE-2026-7210] Insufficient entropy in pyexpat with protection against hash flooding #149018 https://github.com/python/cpython/issues/149018
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 4, 2026 https://github.com/python/cpython/pull/151401#pullrequestreview-4629262387
View reviewed changes https://github.com/python/cpython/pull/151401/files/ed5f55e864faeea545d51d69be48bbe6531cf2cc
picnixzhttps://github.com/picnixz
https://github.com/python/cpython/pull/151401#pullrequestreview-4629262387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/151401
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 4, 2026https://github.com/python/cpython/pull/151401#event-27553671985
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 4, 2026https://github.com/python/cpython/pull/151401#issuecomment-4881441190
Please reload this pagehttps://github.com/python/cpython/pull/151401
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jul 4, 2026https://github.com/python/cpython/pull/151401#issuecomment-4881520858
Please reload this pagehttps://github.com/python/cpython/pull/151401
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%2F151401
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/151401/files/ed5f55e864faeea545d51d69be48bbe6531cf2cc
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Please reload this pagehttps://github.com/python/cpython/pull/151401
https://github.com/StanFromIreland
https://github.com/picnixz
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.