Title: A Series of Potential DoS Risk Points in the CPython Standard Library · Issue #144133 · python/cpython · GitHub
Open Graph Title: A Series of Potential DoS Risk Points in the CPython Standard Library · Issue #144133 · python/cpython
X Title: A Series of Potential DoS Risk Points in the CPython Standard Library · Issue #144133 · python/cpython
Description: Bug report Bug description: Approximately six months ago, our automated scanning program detected several issues and an issue(#134873) was filed. Recently, after improving the scanner and re-running it against CPython, additional locatio...
Open Graph Description: Bug report Bug description: Approximately six months ago, our automated scanning program detected several issues and an issue(#134873) was filed. Recently, after improving the scanner and re-runnin...
X Description: Bug report Bug description: Approximately six months ago, our automated scanning program detected several issues and an issue(#134873) was filed. Recently, after improving the scanner and re-runnin...
Mail addresses
findmykexin@gmail.com
Opengraph URL: https://github.com/python/cpython/issues/144133
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A Series of Potential DoS Risk Points in the CPython Standard Library","articleBody":"# Bug report\n\n### Bug description:\n\nApproximately six months ago, our automated scanning program detected several issues and an issue(#134873) was filed. Recently, after improving the scanner and re-running it against CPython, additional locations were found that may be susceptible to algorithmic complexity attacks. Although each finding has been validated as carefully as possible, some false positives may still exist.\nPlease note that these findings do not necessarily imply an exploitable vulnerability (and are unlikely to represent a straightforward remote attack vector). After discussion with PSRC, these points are being disclosed in this issue in order to leverage community review and contributions to assess impact and, where appropriate, implement hardening or fixes.\nIncremental updates will be posted over the coming weeks.\n\nWe’ve updated the items related to the `email` module in [https://github.com/python/cpython/issues/136063](https://github.com/python/cpython/issues/136063).\n\n\n\n1. _c3_mro(EXP)\nhttps://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/functools.py#L780-L823\n\n\n2.allmethods(Exp)\n\nhttps://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/pydoc.py#L211\n\n\n3.FragmentBuilderNS._getNSattrs (Poly)https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/xml/dom/expatbuilder.py#L818)\n\n\n4. __dict_replace(EXP)https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/xml/sax/saxutils.py#L12\n\n\n5.punycode_decode(Poly)\nhttps://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/encodings/punycode.py#L188\n\n\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-151812\n* gh-151922\n* gh-151923\n* gh-151924\n* gh-155475\n* gh-157561\n* gh-157562\n* gh-157563\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/kexinoh","@type":"Person","name":"kexinoh"},"datePublished":"2026-01-22T02:28:01Z","url":"https://github.com/python/cpython/issues/144133"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5206cf6f-2b5d-5077-9273-37f7d2bea7f6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEAA:3E418A:1853390:1FF26FB:6B020981 |
| html-safe-nonce | d48b752766b5949c114e032bee8695d346fb8a05f8f11060ddb990b393580869 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUFBOjNFNDE4QToxODUzMzkwOjFGRjI2RkI6NkIwMjA5ODEiLCJ2aXNpdG9yX2lkIjoiNDMwMDU0MDM1Mjg2OTMwNDcwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0fd089592571be8642b5b194170e1e48a7f8fd8afe6d5057f0362feec9852b54 |
| hovercard-subject-tag | issue:3840922715 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/144133/issue_layout |
| twitter:image | https://opengraph.githubassets.com/386cc61b43b397e4bdad3d800dac7253156283e7598a6d5d5c33f512e09afd04/python/cpython/issues/144133 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/386cc61b43b397e4bdad3d800dac7253156283e7598a6d5d5c33f512e09afd04/python/cpython/issues/144133 |
| og:image:alt | Bug report Bug description: Approximately six months ago, our automated scanning program detected several issues and an issue(#134873) was filed. Recently, after improving the scanner and re-runnin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kexinoh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width