René's URL Explorer Experiment


Title: gh-149816: Fix a RC in `_random.Random.__init__` method by sobolevn · Pull Request #149824 · python/cpython · GitHub

Open Graph Title: gh-149816: Fix a RC in `_random.Random.__init__` method by sobolevn · Pull Request #149824 · python/cpython

X Title: gh-149816: Fix a RC in `_random.Random.__init__` method by sobolevn · Pull Request #149824 · python/cpython

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

Open Graph Description: I am not sure that it would be easy to repro / test in a real env, but it can be a potential problem. Original description from 17.md: Vulnerability #17 Title: Unlocked init races with PRNG state ...

X Description: I am not sure that it would be easy to repro / test in a real env, but it can be a potential problem. Original description from 17.md: Vulnerability #17 Title: Unlocked init races with PRNG state ...

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

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:133f4d9a-fb44-8ac3-9f41-c849b03f771b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEE1A:24534E:8A4E48:BB9BB7:6A51F98F
html-safe-noncec19d73d8bf904d2e1fdf9d1c64dd448fcc16028838ddea18d2fbb313557c9066
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTFBOjI0NTM0RTo4QTRFNDg6QkI5QkI3OjZBNTFGOThGIiwidmlzaXRvcl9pZCI6IjI1NzkyMzU1NTUwNDE3MzcxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace39446355742173d71da1e7b7ce5dc5425be0f2f45adfb16ac5f3f5d5e2cd0fb
hovercard-subject-tagpull_request:3683006416
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/149824/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8f3bf9f35a6f16f975bd81272951d6181b7350af51ecbf0cf8b4cd5f92af7086/python/cpython/pull/149824
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8f3bf9f35a6f16f975bd81272951d6181b7350af51ecbf0cf8b4cd5f92af7086/python/cpython/pull/149824
og:image:altI am not sure that it would be easy to repro / test in a real env, but it can be a potential problem. Original description from 17.md: Vulnerability #17 Title: Unlocked init races with PRNG state ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/149824#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149824
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%2F149824
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/149824
Reloadhttps://github.com/python/cpython/pull/149824
Reloadhttps://github.com/python/cpython/pull/149824
Please reload this pagehttps://github.com/python/cpython/pull/149824
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/149824
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-149816-17https://github.com/sobolevn/cpython/tree/issue-149816-17
Conversationhttps://github.com/python/cpython/pull/149824
Commits2 (2)https://github.com/python/cpython/pull/149824/commits
Checkshttps://github.com/python/cpython/pull/149824/checks
Files changedhttps://github.com/python/cpython/pull/149824/files
gh-149816: Fix a RC in _random.Random.__init__ methodhttps://github.com/python/cpython/pull/149824#top
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-149816-17https://github.com/sobolevn/cpython/tree/issue-149816-17
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
May 14, 2026https://github.com/python/cpython/pull/149824#issue-4446080354
Please reload this pagehttps://github.com/python/cpython/pull/149824
#17https://github.com/python/cpython/pull/17
22 free-threading race conditions #149816https://github.com/python/cpython/issues/149816
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
colesburyhttps://github.com/colesbury
May 14, 2026 12:58https://github.com/python/cpython/pull/149824#event-25529618162
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/c6f7368157ecf9f2cdd537d8b6fad6e011bce344/.github/CODEOWNERS#L568
May 14, 2026 12:58https://github.com/python/cpython/pull/149824#event-25529618527
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 14, 2026 https://github.com/python/cpython/pull/149824#ref-issue-4442224953
22 free-threading race conditions #149816 https://github.com/python/cpython/issues/149816
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
May 14, 2026https://github.com/python/cpython/pull/149824#event-25529624055
https://github.com/sobolevn
pythongh-149816https://github.com/python/cpython/issues/149816
: Fix a RC inhttps://github.com/python/cpython/pull/149824/commits/6632a253d4dc9793729df55b3ae7a901d2d74c8a
_random.Random.__init__https://github.com/python/cpython/pull/149824/commits/6632a253d4dc9793729df55b3ae7a901d2d74c8a
methodhttps://github.com/python/cpython/pull/149824/commits/6632a253d4dc9793729df55b3ae7a901d2d74c8a
6632a25https://github.com/python/cpython/pull/149824/commits/6632a253d4dc9793729df55b3ae7a901d2d74c8a
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
force-pushedhttps://github.com/python/cpython/compare/ff2d5ad71ddbf8a39c4792673aa61b8b0041317c..6632a253d4dc9793729df55b3ae7a901d2d74c8a
ff2d5adhttps://github.com/python/cpython/commit/ff2d5ad71ddbf8a39c4792673aa61b8b0041317c
6632a25https://github.com/python/cpython/commit/6632a253d4dc9793729df55b3ae7a901d2d74c8a
Compare https://github.com/python/cpython/compare/ff2d5ad71ddbf8a39c4792673aa61b8b0041317c..6632a253d4dc9793729df55b3ae7a901d2d74c8a
May 14, 2026 13:28https://github.com/python/cpython/pull/149824#event-25530736502
https://github.com/lunixbochs
lunixbochshttps://github.com/lunixbochs
May 14, 2026https://github.com/python/cpython/pull/149824#issuecomment-4451650725
6632a25https://github.com/python/cpython/commit/6632a253d4dc9793729df55b3ae7a901d2d74c8a
31d1a72https://github.com/python/cpython/commit/31d1a7216ce27342788917cfc1e60a1debe0d530
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/picnixz
picnixzhttps://github.com/picnixz
May 15, 2026 https://github.com/python/cpython/pull/149824#pullrequestreview-4297377314
View reviewed changes https://github.com/python/cpython/pull/149824/files/6632a253d4dc9793729df55b3ae7a901d2d74c8a
picnixzhttps://github.com/picnixz
https://github.com/python/cpython/pull/149824#pullrequestreview-4297377314
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149824
Modules/_randommodule.chttps://github.com/python/cpython/pull/149824/files/6632a253d4dc9793729df55b3ae7a901d2d74c8a#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
Please reload this pagehttps://github.com/python/cpython/pull/149824
Modules/_randommodule.chttps://github.com/python/cpython/pull/149824/files/6632a253d4dc9793729df55b3ae7a901d2d74c8a#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
Please reload this pagehttps://github.com/python/cpython/pull/149824
Modules/_randommodule.chttps://github.com/python/cpython/pull/149824/files/6632a253d4dc9793729df55b3ae7a901d2d74c8a#diff-c2608f08e5410416046fb2fc953730740d0b29b26c148c2cb4a40e87212012fa
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/sobolevn
Address reviewhttps://github.com/python/cpython/pull/149824/commits/de0b35d830b0c9cfc99a330ee9964ff5a1b85384
de0b35dhttps://github.com/python/cpython/pull/149824/commits/de0b35d830b0c9cfc99a330ee9964ff5a1b85384
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
May 15, 2026https://github.com/python/cpython/pull/149824#issuecomment-4459119078
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/colesbury
colesburyhttps://github.com/colesbury
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 18, 2026https://github.com/python/cpython/pull/149824#event-25664152165
https://github.com/colesbury
colesburyhttps://github.com/colesbury
May 18, 2026 https://github.com/python/cpython/pull/149824#pullrequestreview-4311416652
View reviewed changes https://github.com/python/cpython/pull/149824/files/de0b35d830b0c9cfc99a330ee9964ff5a1b85384
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
May 18, 2026https://github.com/python/cpython/pull/149824#event-25664159597
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
14af19ehttps://github.com/python/cpython/commit/14af19e6c0d9dd05b525596fdd53373f726253d8
May 18, 2026https://github.com/python/cpython/pull/149824#event-25665167257
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 18, 2026https://github.com/python/cpython/pull/149824#issuecomment-4479305696
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/cpython/pull/149824
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
May 18, 2026https://github.com/python/cpython/pull/149824#event-25665170066
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 18, 2026https://github.com/python/cpython/pull/149824#issuecomment-4479307799
GH-149997https://github.com/python/cpython/pull/149997
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 18, 2026https://github.com/python/cpython/pull/149824#event-25665182544
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 18, 2026https://github.com/python/cpython/pull/149824#issuecomment-4479308618
GH-149998https://github.com/python/cpython/pull/149998
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 18, 2026https://github.com/python/cpython/pull/149824#event-25665186973
sobolevnhttps://github.com/sobolevn
May 18, 2026 https://github.com/python/cpython/pull/149824#ref-commit-01b07df
https://github.com/miss-islington
https://github.com/sobolevn
[3.15]https://github.com/python/cpython/commit/01b07df858a9594f4421dacfd10a1c1b26102e29
gh-149816https://github.com/python/cpython/issues/149816
: Fix a RC inhttps://github.com/python/cpython/commit/01b07df858a9594f4421dacfd10a1c1b26102e29
_random.Random.__init__https://github.com/python/cpython/commit/01b07df858a9594f4421dacfd10a1c1b26102e29
method (https://github.com/python/cpython/commit/01b07df858a9594f4421dacfd10a1c1b26102e29
GH-14…https://github.com/python/cpython/pull/149824
01b07dfhttps://github.com/python/cpython/commit/01b07df858a9594f4421dacfd10a1c1b26102e29
…9824https://github.com/python/cpython/pull/149824
#149997https://github.com/python/cpython/pull/149997
gh-149816https://github.com/python/cpython/issues/149816
GH-149824https://github.com/python/cpython/pull/149824
14af19ehttps://github.com/python/cpython/commit/14af19e6c0d9dd05b525596fdd53373f726253d8
sobolevnhttps://github.com/sobolevn
May 18, 2026 https://github.com/python/cpython/pull/149824#ref-commit-21a7236
https://github.com/miss-islington
https://github.com/sobolevn
[3.14]https://github.com/python/cpython/commit/21a72363f99fb940dd3c0649e4545785bac1213f
gh-149816https://github.com/python/cpython/issues/149816
: Fix a RC inhttps://github.com/python/cpython/commit/21a72363f99fb940dd3c0649e4545785bac1213f
_random.Random.__init__https://github.com/python/cpython/commit/21a72363f99fb940dd3c0649e4545785bac1213f
method (https://github.com/python/cpython/commit/21a72363f99fb940dd3c0649e4545785bac1213f
GH-14…https://github.com/python/cpython/pull/149824
21a7236https://github.com/python/cpython/commit/21a72363f99fb940dd3c0649e4545785bac1213f
…9824https://github.com/python/cpython/pull/149824
#149998https://github.com/python/cpython/pull/149998
gh-149816https://github.com/python/cpython/issues/149816
GH-149824https://github.com/python/cpython/pull/149824
14af19ehttps://github.com/python/cpython/commit/14af19e6c0d9dd05b525596fdd53373f726253d8
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%2F149824
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/149824/files/6632a253d4dc9793729df55b3ae7a901d2d74c8a
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/149824/files/de0b35d830b0c9cfc99a330ee9964ff5a1b85384
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
Please reload this pagehttps://github.com/python/cpython/pull/149824
https://github.com/sobolevn
https://github.com/lunixbochs
https://github.com/colesbury
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.