René's URL Explorer Experiment


Title: io.TextIOWrapper UAF triggered by readline() · Issue #157364 · python/cpython · GitHub

Open Graph Title: io.TextIOWrapper UAF triggered by readline() · Issue #157364 · python/cpython

X Title: io.TextIOWrapper UAF triggered by readline() · Issue #157364 · python/cpython

Description: Bug report Bug description: import io class R(io.RawIOBase): def readable(self): return True def readinto(self,b): tw.detach(); b[:3]=b"ab\n"; return 3 tw=io.TextIOWrapper(io.BufferedReader(R()),encoding="utf-8") tw.readline(); Exception...

Open Graph Description: Bug report Bug description: import io class R(io.RawIOBase): def readable(self): return True def readinto(self,b): tw.detach(); b[:3]=b"ab\n"; return 3 tw=io.TextIOWrapper(io.BufferedReader(R()),en...

X Description: Bug report Bug description: import io class R(io.RawIOBase): def readable(self): return True def readinto(self,b): tw.detach(); b[:3]=b"ab\n"; return 3 tw=io.TextIOWrapper(io.BufferedRead...

Opengraph URL: https://github.com/python/cpython/issues/157364

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"io.TextIOWrapper UAF triggered by readline()","articleBody":"# Bug report\n\n### Bug description:\n\n```python\nimport io\nclass R(io.RawIOBase):\n    def readable(self): return True\n    def readinto(self,b):\n        tw.detach(); b[:3]=b\"ab\\n\"; return 3\ntw=io.TextIOWrapper(io.BufferedReader(R()),encoding=\"utf-8\")\ntw.readline(); \n```\n\n```\nException ignored while finalizing file \u003c_io.BufferedReader>:\nTraceback (most recent call last):\n  File \"/repro/audit4/repro/textio_detach_uaf_readline.py\", line 5, in readinto\n    tw.detach(); b[:3]=b\"ab\\n\"; return 3\n    ~~~~~~~~~^^\nRuntimeError: reentrant call inside \u003c_io.BufferedReader>\n=================================================================\n==1==ERROR: AddressSanitizer: heap-use-after-free on address 0x50f000038a20 at pc 0xaaaacdacc864 bp 0xffffd28429c0 sp 0xffffd28429b0\nREAD of size 8 at 0x50f000038a20 thread T0\n    #0 0xaaaacdacc860 in _bufferedreader_raw_read Modules/_io/bufferedio.c:1667\n    #1 0xaaaacdad17c0 in _io__Buffered_read1_impl Modules/_io/bufferedio.c:1080\n    #2 0xaaaacdad17c0 in _io__Buffered_read1 Modules/_io/clinic/bufferedio.c.h:721\n    #3 0xaaaacd059b50 in _PyObject_VectorcallTstate Include/internal/pycore_call.h:144\n    #4 0xaaaacd059b50 in PyObject_VectorcallMethod Objects/call.c:921\n    #5 0xaaaacdadbd48 in PyObject_CallMethodOneArg Include/cpython/abstract.h:74\n    #6 0xaaaacdadbd48 in buffer_callmethod_onearg Modules/_io/textio.c:792\n    #7 0xaaaacdaf42f8 in textiowrapper_read_chunk Modules/_io/textio.c:1996\n    #8 0xaaaacdaf8508 in _textiowrapper_readline Modules/_io/textio.c:2307\n    #9 0xaaaacd056320 in _PyObject_VectorcallTstate Include/internal/pycore_call.h:144\n    #10 0xaaaacd056320 in PyObject_Vectorcall Objects/call.c:327\n    #11 0xaaaacd6a1bc8 in _Py_VectorCallInstrumentation_StackRefSteal Python/ceval.c:768\n    #12 0xaaaaccdd1de8 in _PyEval_EvalFrameDefault Python/generated_cases.c.h:1906\n    #13 0xaaaacd6c0b1c in _PyEval_EvalFrame Include/internal/pycore_ceval.h:122\n    #14 0xaaaacd6c0b1c in _PyEval_Vector Python/ceval.c:2174\n    #15 0xaaaacd6c0b1c in PyEval_EvalCode Python/ceval.c:679\n    #16 0xaaaacd8bfeb4 in run_mod Python/pythonrun.c:1509\n    #17 0xaaaacd8c0d38 in _PyRun_File Python/pythonrun.c:1332\n    #18 0xaaaacd8c4ffc in _PyRun_SimpleFile Python/pythonrun.c:544\n    #19 0xaaaacd8c8dd0 in _PyRun_AnyFile Python/pythonrun.c:92\n    #20 0xaaaacd99390c in pymain_run_file_obj Modules/main.c:478\n    #21 0xaaaacd99390c in pymain_run_file Modules/main.c:494\n    #22 0xaaaacd99390c in pymain_run_python Modules/main.c:804\n    #23 0xaaaacd99390c in Py_RunMain Modules/main.c:891\n    #24 0xaaaacd995c38 in pymain_main Modules/main.c:921\n    #25 0xaaaacd995c38 in Py_BytesMain Modules/main.c:945\n    #26 0xffff8b8f84c0  (/lib/aarch64-linux-gnu/libc.so.6+0x284c0) (BuildId: 27027b96e5b8c475fc327aa445bea1c71d37b4e2)\n    #27 0xffff8b8f8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594) (BuildId: 27027b96e5b8c475fc327aa445bea1c71d37b4e2)\n    #28 0xaaaacce3beec in _start (/src/cpython/python+0x183beec) (BuildId: eba909a3db0adabacf151d7dc3081dda7999191a)\n\n0x50f000038a20 is located 64 bytes inside of 168-byte region [0x50f0000389e0,0x50f000038a88)\nfreed by thread T0 here:\n    #0 0xffff8c2961b4 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52\n    #1 0xaaaacdabd8dc in buffered_dealloc Modules/_io/bufferedio.c:444\n    #2 0xaaaacd247ab0 in _Py_Dealloc Objects/object.c:3334\n    #3 0xaaaaccdffea0 in Py_DECREF_MORTAL Include/internal/pycore_object.h:449\n    #4 0xaaaaccdffea0 in PyStackRef_XCLOSE Include/internal/pycore_stackref.h:726\n    #5 0xaaaaccdffea0 in _PyEval_EvalFrameDefault Python/generated_cases.c.h:11163\n    #6 0xaaaacd6c1a00 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:122\n    #7 0xaaaacd6c1a00 in _PyEval_Vector Python/ceval.c:2174\n    #8 0xaaaacd059b50 in _PyObject_VectorcallTstate Include/internal/pycore_call.h:144\n    #9 0xaaaacd059b50 in PyObject_VectorcallMethod Objects/call.c:921\n    #10 0xaaaacdacc2d8 in PyObject_CallMethodOneArg Include/cpython/abstract.h:74\n    #11 0xaaaacdacc2d8 in _bufferedreader_raw_read Modules/_io/bufferedio.c:1640\n    #12 0xaaaacdad17c0 in _io__Buffered_read1_impl Modules/_io/bufferedio.c:1080\n    #13 0xaaaacdad17c0 in _io__Buffered_read1 Modules/_io/clinic/bufferedio.c.h:721\n    #14 0xaaaacd059b50 in _PyObject_VectorcallTstate Include/internal/pycore_call.h:144\n    #15 0xaaaacd059b50 in PyObject_VectorcallMethod Objects/call.c:921\n    #16 0xaaaacdadbd48 in PyObject_CallMethodOneArg Include/cpython/abstract.h:74\n    #17 0xaaaacdadbd48 in buffer_callmethod_onearg Modules/_io/textio.c:792\n    #18 0xaaaacdaf42f8 in textiowrapper_read_chunk Modules/_io/textio.c:1996\n    #19 0xaaaacdaf8508 in _textiowrapper_readline Modules/_io/textio.c:2307\n    #20 0xaaaacd056320 in _PyObject_VectorcallTstate Include/internal/pycore_call.h:144\n    #21 0xaaaacd056320 in PyObject_Vectorcall Objects/call.c:327\n    #22 0xaaaacd6a1bc8 in _Py_VectorCallInstrumentation_StackRefSteal Python/ceval.c:768\n    #23 0xaaaaccdd1de8 in _PyEval_EvalFrameDefault Python/generated_cases.c.h:1906\n    #24 0xaaaacd6c0b1c in _PyEval_EvalFrame Include/internal/pycore_ceval.h:122\n    #25 0xaaaacd6c0b1c in _PyEval_Vector Python/ceval.c:2174\n    #26 0xaaaacd6c0b1c in PyEval_EvalCode Python/ceval.c:679\n    #27 0xaaaacd8bfeb4 in run_mod Python/pythonrun.c:1509\n    #28 0xaaaacd8c0d38 in _PyRun_File Python/pythonrun.c:1332\n    #29 0xaaaacd8c4ffc in _PyRun_SimpleFile Python/pythonrun.c:544\n    #30 0xaaaacd8c8dd0 in _PyRun_AnyFile Python/pythonrun.c:92\n    #31 0xaaaacd99390c in pymain_run_file_obj Modules/main.c:478\n    #32 0xaaaacd99390c in pymain_run_file Modules/main.c:494\n    #33 0xaaaacd99390c in pymain_run_python Modules/main.c:804\n    #34 0xaaaacd99390c in Py_RunMain Modules/main.c:891\n    #35 0xaaaacd995c38 in pymain_main Modules/main.c:921\n    #36 0xaaaacd995c38 in Py_BytesMain Modules/main.c:945\n    #37 0xffff8b8f84c0  (/lib/aarch64-linux-gnu/libc.so.6+0x284c0) (BuildId: 27027b96e5b8c475fc327aa445bea1c71d37b4e2)\n    #38 0xffff8b8f8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594) (BuildId: 27027b96e5b8c475fc327aa445bea1c71d37b4e2)\n    #39 0xaaaacce3beec in _start (/src/cpython/python+0x183beec) (BuildId: eba909a3db0adabacf151d7dc3081dda7999191a)\n\npreviously allocated by thread T0 here:\n    #0 0xffff8c2976d0 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69\n    #1 0xaaaacd36077c in _PyObject_MallocWithType Include/internal/pycore_object_alloc.h:46\n    #2 0xaaaacd36077c in _PyType_AllocNoTrack Objects/typeobject.c:2498\n    #3 0xaaaacd360e00 in PyType_GenericAlloc Objects/typeobject.c:2529\n    #4 0xaaaacd366808 in type_call Objects/typeobject.c:2442\n    #5 0xaaaacd054250 in _PyObject_MakeTpCall Objects/call.c:242\n    #6 0xaaaacd6a1bc8 in _Py_VectorCallInstrumentation_StackRefSteal Python/ceval.c:768\n    #7 0xaaaaccdd1de8 in _PyEval_EvalFrameDefault Python/generated_cases.c.h:1906\n    #8 0xaaaacd6c0b1c in _PyEval_EvalFrame Include/internal/pycore_ceval.h:122\n    #9 0xaaaacd6c0b1c in _PyEval_Vector Python/ceval.c:2174\n    #10 0xaaaacd6c0b1c in PyEval_EvalCode Python/ceval.c:679\n    #11 0xaaaacd8bfeb4 in run_mod Python/pythonrun.c:1509\n    #12 0xaaaacd8c0d38 in _PyRun_File Python/pythonrun.c:1332\n    #13 0xaaaacd8c4ffc in _PyRun_SimpleFile Python/pythonrun.c:544\n    #14 0xaaaacd8c8dd0 in _PyRun_AnyFile Python/pythonrun.c:92\n    #15 0xaaaacd99390c in pymain_run_file_obj Modules/main.c:478\n    #16 0xaaaacd99390c in pymain_run_file Modules/main.c:494\n    #17 0xaaaacd99390c in pymain_run_python Modules/main.c:804\n    #18 0xaaaacd99390c in Py_RunMain Modules/main.c:891\n    #19 0xaaaacd995c38 in pymain_main Modules/main.c:921\n    #20 0xaaaacd995c38 in Py_BytesMain Modules/main.c:945\n    #21 0xffff8b8f84c0  (/lib/aarch64-linux-gnu/libc.so.6+0x284c0) (BuildId: 27027b96e5b8c475fc327aa445bea1c71d37b4e2)\n    #22 0xffff8b8f8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594) (BuildId: 27027b96e5b8c475fc327aa445bea1c71d37b4e2)\n    #23 0xaaaacce3beec in _start (/src/cpython/python+0x183beec) (BuildId: eba909a3db0adabacf151d7dc3081dda7999191a)\n\nSUMMARY: AddressSanitizer: heap-use-after-free Modules/_io/bufferedio.c:1667 in _bufferedreader_raw_read\nShadow bytes around the buggy address:\n  0x50f000038780: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa\n  0x50f000038800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n  0x50f000038880: 00 00 00 00 00 fa fa fa fa fa fa fa fa fa 00 00\n  0x50f000038900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n  0x50f000038980: 00 00 00 fa fa fa fa fa fa fa fa fa fd fd fd fd\n=>0x50f000038a00: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd\n  0x50f000038a80: fd fa fa fa fa fa fa fa fa fa fd fd fd fd fd fd\n  0x50f000038b00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa\n  0x50f000038b80: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd\n  0x50f000038c00: fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa\n  0x50f000038c80: fa fa fa fa fa fa fd fd fd fd fd fd fd fd fd fd\nShadow byte legend (one shadow byte represents 8 application bytes):\n  Addressable:           00\n  Partially addressable: 01 02 03 04 05 06 07\n  Heap left redzone:       fa\n  Freed heap region:       fd\n  Stack left redzone:      f1\n  Stack mid redzone:       f2\n  Stack right redzone:     f3\n  Stack after return:      f5\n  Stack use after scope:   f8\n  Global redzone:          f9\n  Global init order:       f6\n  Poisoned by user:        f7\n  Container overflow:      fc\n  Array cookie:            ac\n  Intra object redzone:    bb\n  ASan internal:           fe\n  Left alloca redzone:     ca\n  Right alloca redzone:    cb\n==1==ABORTING\n```\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-157370\n* gh-159591\n* gh-159600\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/djarfluka","@type":"Person","name":"djarfluka"},"datePublished":"2026-09-12T12:53:21Z","url":"https://github.com/python/cpython/issues/157364"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c7936b8e-2f17-f57e-8c9d-4f124c918359
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8B62:21DFED:2CFDFE:392862:6B01F7B7
html-safe-noncefb58a182f3a50c13d33ac080e14e7041aca4545756d96f91bef34684af644df9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjYyOjIxREZFRDoyQ0ZERkU6MzkyODYyOjZCMDFGN0I3IiwidmlzaXRvcl9pZCI6IjIyOTYyOTYyOTUxNDIzODk2ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1d9faab5ca6b156d2cfbb089d13e94e29ee5ec559487fa93d891d2c4346347bd
hovercard-subject-tagissue:5433393164
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/157364/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cdca74d3e70e651823d1c7eebc3b1501371d76aa956a025de1a7062ae5f68752/python/cpython/issues/157364
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cdca74d3e70e651823d1c7eebc3b1501371d76aa956a025de1a7062ae5f68752/python/cpython/issues/157364
og:image:altBug report Bug description: import io class R(io.RawIOBase): def readable(self): return True def readinto(self,b): tw.detach(); b[:3]=b"ab\n"; return 3 tw=io.TextIOWrapper(io.BufferedReader(R()),en...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedjarfluka
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/157364#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F157364
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%2Fissues%2F157364
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/157364
Reloadhttps://github.com/python/cpython/issues/157364
Reloadhttps://github.com/python/cpython/issues/157364
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/157364
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/157364
io.TextIOWrapper UAF triggered by readline()https://github.com/python/cpython/issues/157364#top
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
extension-modulesC modules in the Modules dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22
topic-IOhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-IO%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/djarfluka
djarflukahttps://github.com/djarfluka
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issue-5433393164
gh-157364: Fix use-after-free in TextIOWrapper during reentrant detach #157370https://github.com/python/cpython/pull/157370
[3.15] gh-157364: Fix use-after-free in io.TextIOWrapper during reentrant detach #159591https://github.com/python/cpython/pull/159591
[3.14] gh-157364: Fix use-after-free in io.TextIOWrapper during reentrant detach #159600https://github.com/python/cpython/pull/159600
djarflukahttps://github.com/djarfluka
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Sep 12, 2026https://github.com/python/cpython/issues/157364#event-31021106978
https://github.com/djarfluka
djarflukahttps://github.com/djarfluka
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issuecomment-5646007522
#157363https://github.com/python/cpython/issues/157363
StanFromIrelandhttps://github.com/StanFromIreland
extension-modulesC modules in the Modules dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
on Sep 12, 2026https://github.com/python/cpython/issues/157364#event-31026450811
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issuecomment-5647252634
https://github.com/ashm-dev
ashm-devhttps://github.com/ashm-dev
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issuecomment-5647584540
https://github.com/ashm-dev
ashm-devhttps://github.com/ashm-dev
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issuecomment-5647632919
@picnixzhttps://github.com/picnixz
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issuecomment-5647742703
@cmaloneyhttps://github.com/cmaloney
@vstinnerhttps://github.com/vstinner
picnixzhttps://github.com/picnixz
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
on Sep 12, 2026https://github.com/python/cpython/issues/157364#event-31029111440
ashm-devhttps://github.com/ashm-dev
on Sep 12, 2026https://github.com/python/cpython/issues/157364#event-31029348604
Merge branch 'main' into pythongh-157364https://github.com/ashm-dev/cpython/commit/05510fbdf1f2f17cadf59e57fff2d93c764a7741
pythongh-157364https://github.com/python/cpython/issues/157364
05510fbhttps://github.com/ashm-dev/cpython/commit/05510fbdf1f2f17cadf59e57fff2d93c764a7741
https://github.com/ashm-dev
ashm-devhttps://github.com/ashm-dev
on Sep 12, 2026https://github.com/python/cpython/issues/157364#issuecomment-5648041922
@picnixzhttps://github.com/picnixz
cmaloneyhttps://github.com/cmaloney
topic-IOhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-IO%22
on Sep 26, 2026https://github.com/python/cpython/issues/157364#event-31887307843
vstinnerhttps://github.com/vstinner
on Oct 7, 2026https://github.com/python/cpython/issues/157364#event-32714383234
gh-157364: Fix use-after-free in io.TextIOWrapper during reentrant de…https://github.com/python/cpython/commit/e19dc470f4c2afd7ac944896232a3a6ca0204399
gh-157364https://github.com/python/cpython/issues/157364
e19dc47https://github.com/python/cpython/commit/e19dc470f4c2afd7ac944896232a3a6ca0204399
cmaloneyhttps://github.com/cmaloney
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
on Oct 7, 2026https://github.com/python/cpython/issues/157364#event-32714493639
vstinnerhttps://github.com/vstinner
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 7, 2026https://github.com/python/cpython/issues/157364#event-32715175039
vstinnerhttps://github.com/vstinner
on Oct 16, 2026https://github.com/python/cpython/issues/157364#event-33491208187
[3.15] gh-157364: Fix use-after-free in io.TextIOWrapper during reent…https://github.com/python/cpython/commit/ea1312bdb446a536964ec7133625ae6aa6a592bf
gh-157364https://github.com/python/cpython/issues/157364
ea1312bhttps://github.com/python/cpython/commit/ea1312bdb446a536964ec7133625ae6aa6a592bf
[3.14] gh-157364: Fix use-after-free in io.TextIOWrapper during reent…https://github.com/python/cpython/commit/13fc16c9c0e2b2055aa1d01c93cff2e8b50c445c
gh-157364https://github.com/python/cpython/issues/157364
13fc16chttps://github.com/python/cpython/commit/13fc16c9c0e2b2055aa1d01c93cff2e8b50c445c
scrievehttps://github.com/scrieve
on Oct 23, 2026https://github.com/python/cpython/issues/157364#event-34083953348
pythongh-160427: Return None from TextIOWrapper.buffer once detachedhttps://github.com/scrieve/cpython/commit/0071853b359d909b6050115016d9e0e590003f9c
pythongh-160427https://github.com/python/cpython/issues/160427
0071853https://github.com/scrieve/cpython/commit/0071853b359d909b6050115016d9e0e590003f9c
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/157364
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/157364
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
3.15bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22
extension-modulesC modules in the Modules dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22
topic-IOhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-IO%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.