René's URL Explorer Experiment


Title: Potential Quadratic Complexity Vulnerabilities in the `email` Module · Issue #136063 · python/cpython · GitHub

Open Graph Title: Potential Quadratic Complexity Vulnerabilities in the `email` Module · Issue #136063 · python/cpython

X Title: Potential Quadratic Complexity Vulnerabilities in the `email` Module · Issue #136063 · python/cpython

Description: Bug Description: A series of simple quadratic complexity vulnerabilities has been identified in the email package. After confirmation by CPython's security team, these low-threat DOS vulnerabilities can be fixed with community assistance...

Open Graph Description: Bug Description: A series of simple quadratic complexity vulnerabilities has been identified in the email package. After confirmation by CPython's security team, these low-threat DOS vulnerabilitie...

X Description: Bug Description: A series of simple quadratic complexity vulnerabilities has been identified in the email package. After confirmation by CPython's security team, these low-threat DOS vulnerabil...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Potential Quadratic Complexity Vulnerabilities in the `email` Module","articleBody":"**Bug Description:**\nA series of simple quadratic complexity vulnerabilities has been identified in the `email` package. After confirmation by CPython's security team, these low-threat DOS vulnerabilities can be fixed with community assistance.\n\n**Vulnerability Locations (All Fixed):**\n1. https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/message.py#L73\n2.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1424\n3.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1506\n4.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1688\n5.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1697\n6.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1847\n7.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2200\n8.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2231\n9.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2260\n10.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2411\n11.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2570\n12.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2642\n13.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2762\n14.https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2965\n\nBelow are the newly identified DoS risk points in the `email` module, added on **2026/01/23**, updated from [https://github.com/python/cpython/issues/144133](https://github.com/python/cpython/issues/144133):\n\n15. [https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/_header_value_parser.py#L2838](https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/_header_value_parser.py#L2838)\n16. [https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/_header_value_parser.py#L3076](https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/_header_value_parser.py#L3076)\n17. [https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/message.py#L879](https://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/message.py#L879)\n18. [https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_parseaddr.py#L527](https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_parseaddr.py#L527)\n19. [https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_parseaddr.py#L551](https://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_parseaddr.py#L551)\n20. [https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L319](https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L319)\n21. [https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L354](https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L354)\n\nmore:\n\nTokenList.all_defects: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L152-L154\nAddressList.mailboxes: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L313-L316\nget_encoded_word: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1074-L1121\nget_unstructured: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1123-L1188\nget_bare_quoted_string: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1238-L1279\nget_comment: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1281-L1304\nget_dot_atom_text: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1364-L1381\nget_dot_atom: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1383-L1406\nget_word: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1408-L1440\nget_local_part: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1480-L1517\nget_domain: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1638-L1674\nget_addr_spec: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1676-L1690\nget_angle_addr: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1735-L1779\nget_display_name: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1781-L1793\nget_name_addr: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1796-L1830\nget_mailbox: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1832-L1851\nget_mailbox_list: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1871-L1925\nget_group_list: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1928-L1963\nget_group: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1965-L1993\nget_address: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1995-L2022\nget_address_list: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2024-L2076\nget_msg_id: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2101-L2167\nparse_message_id: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2170-L2188\nparse_mime_parameters: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2627-L2677\nAddrlistClass.getaddress: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_parseaddr.py#L274-L331\nCharset.header_encode_lines: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/charset.py#L293-L352\ndecode_header: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/header.py#L59-L156\nHeader._normalize: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/header.py#L398-L414\nMessage.set_param: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/message.py#L745-L794\nMessage.del_param: https://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/message.py#L796-L816\n\n**Repair Status:**\n* @picnixz is currently fixing all listed vulnerabilities in the email package (#134947).\n\n**Common Information:**\n* **CPython Version:** main branch\n* **Operating System:** Linux\n* **Credits:** Finder is kexinoh (Xiangfan Wu) from QI-ANXIN Technology Research Institute.\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-134947\n* gh-136072\n* gh-140827\n* gh-140828\n* gh-140829\n* gh-140830\n* gh-140831\n* gh-140832\n* gh-152521\n* gh-152710\n* gh-162002\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/kexinoh","@type":"Person","name":"kexinoh"},"datePublished":"2025-06-28T08:21:24Z","url":"https://github.com/python/cpython/issues/136063"}

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:32831677-35f9-30b8-47a4-971a72b0616c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9688:361639:34106CE:4573B65:6B02026B
html-safe-nonce4532d3166069d37afde8789bd771ba025eec16eb0ad2cac370884fd8c9e19eda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njg4OjM2MTYzOTozNDEwNkNFOjQ1NzNCNjU6NkIwMjAyNkIiLCJ2aXNpdG9yX2lkIjoiNzYzNjk0MDA5NzM3NTU2ODQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9f339f1a83d013cbee5f2fa445cb2033856c972d70f6f466c0989b0b132a77cf
hovercard-subject-tagissue:3184725693
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/136063/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4cb62bb3a8b10cd45b6dbe8a33699dd0c761b24406653edc2fcc6c612336ae40/python/cpython/issues/136063
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4cb62bb3a8b10cd45b6dbe8a33699dd0c761b24406653edc2fcc6c612336ae40/python/cpython/issues/136063
og:image:altBug Description: A series of simple quadratic complexity vulnerabilities has been identified in the email package. After confirmation by CPython's security team, these low-threat DOS vulnerabilitie...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekexinoh
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/136063#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F136063
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%2F136063
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/136063
Reloadhttps://github.com/python/cpython/issues/136063
Reloadhttps://github.com/python/cpython/issues/136063
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/136063
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/136063
Potential Quadratic Complexity Vulnerabilities in the email Modulehttps://github.com/python/cpython/issues/136063#top
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
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
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
type-securityA security issuehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-security%22
https://github.com/kexinoh
kexinohhttps://github.com/kexinoh
on Jun 28, 2025https://github.com/python/cpython/issues/136063#issue-3184725693
cpython/Lib/email/message.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/message.py#L73
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1424
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1506
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1688
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1697
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L1847
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2200
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2231
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2260
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2411
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2570
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2642
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2762
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_header_value_parser.py#L2965
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
#144133https://github.com/python/cpython/issues/144133
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/_header_value_parser.py#L2838
e66597dhttps://github.com/python/cpython/commit/e66597d6c84a8615340822b8da564e5ca3fba5cd
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/_header_value_parser.py#L3076
e66597dhttps://github.com/python/cpython/commit/e66597d6c84a8615340822b8da564e5ca3fba5cd
cpython/Lib/email/message.pyhttps://github.com/python/cpython/blob/e66597d6c84a8615340822b8da564e5ca3fba5cd/Lib/email/message.py#L879
e66597dhttps://github.com/python/cpython/commit/e66597d6c84a8615340822b8da564e5ca3fba5cd
cpython/Lib/email/_parseaddr.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_parseaddr.py#L527
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_parseaddr.pyhttps://github.com/python/cpython/blob/5ab66a882d1b5e44ec50b25df116ab209d65863f/Lib/email/_parseaddr.py#L551
5ab66a8https://github.com/python/cpython/commit/5ab66a882d1b5e44ec50b25df116ab209d65863f
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L319
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L354
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L152-L154
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L313-L316
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1074-L1121
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1123-L1188
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1238-L1279
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1281-L1304
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1364-L1381
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1383-L1406
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1408-L1440
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1480-L1517
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1638-L1674
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1676-L1690
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1735-L1779
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1781-L1793
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1796-L1830
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1832-L1851
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1871-L1925
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1928-L1963
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1965-L1993
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1995-L2022
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2024-L2076
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2101-L2167
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2170-L2188
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_header_value_parser.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L2627-L2677
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/_parseaddr.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_parseaddr.py#L274-L331
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/charset.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/charset.py#L293-L352
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/header.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/header.py#L59-L156
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/header.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/header.py#L398-L414
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/message.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/message.py#L745-L794
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
cpython/Lib/email/message.pyhttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/message.py#L796-L816
6181b69https://github.com/python/cpython/commit/6181b69970b93fc74d74c97ce6543c0d1b6a258c
@picnixzhttps://github.com/picnixz
gh-136063: fix various quadratic worst-time complexities in _header_value_parser.py [WIP] #134947https://github.com/python/cpython/pull/134947
gh-136063: fix various quadratic worst-time complexities in _header_value_parser.py [WIP] #134947https://github.com/python/cpython/pull/134947
gh-136063: fix quadratic-complexity parsing in email.message._parseparam #136072https://github.com/python/cpython/pull/136072
[3.14] gh-136063: fix quadratic-complexity parsing in email.message._parseparam (GH-136072) #140827https://github.com/python/cpython/pull/140827
[3.13] gh-136063: fix quadratic-complexity parsing in email.message._parseparam (GH-136072) #140828https://github.com/python/cpython/pull/140828
[3.12] gh-136063: fix quadratic-complexity parsing in email.message._parseparam (GH-136072) #140829https://github.com/python/cpython/pull/140829
[3.11] gh-136063: fix quadratic-complexity parsing in email.message._parseparam (GH-136072) #140830https://github.com/python/cpython/pull/140830
[3.10] gh-136063: fix quadratic-complexity parsing in email.message._parseparam (GH-136072) #140831https://github.com/python/cpython/pull/140831
[3.9] gh-136063: fix quadratic-complexity parsing in email.message._parseparam (GH-136072) #140832https://github.com/python/cpython/pull/140832
gh-136063: Fix quadratic complexity in the email header value parser #152521https://github.com/python/cpython/pull/152521
gh-136063: WIP: Refactor email _header_value_parser and eliminate non-linear complexity #152710https://github.com/python/cpython/pull/152710
gh-136063: Fix quadratic complexity in email.header.decode_header() #162002https://github.com/python/cpython/pull/162002
Nexthttps://github.com/python/cpython/issues/136063?timeline_page=1
https://github.com/picnixz
picnixzhttps://github.com/picnixz
on Jun 28, 2025https://github.com/python/cpython/issues/136063#issuecomment-3015102153
https://github.com/kexinoh
kexinohhttps://github.com/kexinoh
on Jun 28, 2025https://github.com/python/cpython/issues/136063#issuecomment-3015104080
picnixzhttps://github.com/picnixz
type-securityA security issuehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-security%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
3.10 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.10%20(EOL)%22
3.9 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.9%20(EOL)%22
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
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 Jun 28, 2025https://github.com/python/cpython/issues/136063#event-18367877082
ambvhttps://github.com/ambv
on Oct 31, 2025https://github.com/python/cpython/issues/136063#event-20634808906
gh-136063: fix quadratic-complexity parsing in `email.message._parsep…https://github.com/python/cpython/commit/680a5d070f59798bb88a1bb6eb027482b8d85c34
gh-136063https://github.com/python/cpython/issues/136063
680a5d0https://github.com/python/cpython/commit/680a5d070f59798bb88a1bb6eb027482b8d85c34
miss-islingtonhttps://github.com/miss-islington
on Oct 31, 2025https://github.com/python/cpython/issues/136063#event-20634811294
pythongh-136063: fix quadratic-complexity parsing in `email.message._…https://github.com/miss-islington/cpython/commit/7a8ebb278f3c9e0d1eabc0c9aa4b956d7c7c0164
pythongh-136063https://github.com/python/cpython/issues/136063
7a8ebb2https://github.com/miss-islington/cpython/commit/7a8ebb278f3c9e0d1eabc0c9aa4b956d7c7c0164
pythongh-136063: fix quadratic-complexity parsing in `email.message._…https://github.com/miss-islington/cpython/commit/67e8c1750cf36ab6e510e5a22b8fb51f37c55c34
pythongh-136063https://github.com/python/cpython/issues/136063
67e8c17https://github.com/miss-islington/cpython/commit/67e8c1750cf36ab6e510e5a22b8fb51f37c55c34
StanFromIrelandhttps://github.com/StanFromIreland
on Dec 6, 2025https://github.com/python/cpython/issues/136063#event-21401818937
pythongh-136063: fix quadratic-complexity parsing in `email.message._…https://github.com/StanFromIreland/cpython/commit/aa928a9e233a9712bc487e9e20131e2db3015985
pythongh-136063https://github.com/python/cpython/issues/136063
aa928a9https://github.com/StanFromIreland/cpython/commit/aa928a9e233a9712bc487e9e20131e2db3015985
Yhg1shttps://github.com/Yhg1s
on Dec 22, 2025https://github.com/python/cpython/issues/136063#event-21705222095
[3.12] gh-136063: fix quadratic-complexity parsing in `email.message.…https://github.com/python/cpython/commit/1c00d7bb3bab52bf007570405e5374f7d2821d7d
gh-136063https://github.com/python/cpython/issues/136063
1c00d7bhttps://github.com/python/cpython/commit/1c00d7bb3bab52bf007570405e5374f7d2821d7d
pablogsalhttps://github.com/pablogsal
on Jan 25, 2026https://github.com/python/cpython/issues/136063#event-22275617294
[3.10] gh-136063: fix quadratic-complexity parsing in `email.message.…https://github.com/python/cpython/commit/6027dbb19916314fb3b7d7468ef3f8db592a8bb7
gh-136063https://github.com/python/cpython/issues/136063
6027dbbhttps://github.com/python/cpython/commit/6027dbb19916314fb3b7d7468ef3f8db592a8bb7
https://github.com/bitdancer
bitdancerhttps://github.com/bitdancer
on Apr 15, 2026https://github.com/python/cpython/issues/136063#issuecomment-4248493103
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Apr 15, 2026https://github.com/python/cpython/issues/136063#issuecomment-4250156752
https://github.com/bitdancer
bitdancerhttps://github.com/bitdancer
on Apr 15, 2026https://github.com/python/cpython/issues/136063#issuecomment-4253056726
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Apr 15, 2026https://github.com/python/cpython/issues/136063#issuecomment-4253218041
https://github.com/bitdancer
bitdancerhttps://github.com/bitdancer
on Apr 15, 2026https://github.com/python/cpython/issues/136063#issuecomment-4255517310
https://github.com/DarkaMaul
DarkaMaulhttps://github.com/DarkaMaul
on Apr 21, 2026https://github.com/python/cpython/issues/136063#issuecomment-4290010710
get_commenthttps://github.com/python/cpython/blob/6181b69970b93fc74d74c97ce6543c0d1b6a258c/Lib/email/_header_value_parser.py#L1281-L1304
https://github.com/bitdancer
bitdancerhttps://github.com/bitdancer
on Apr 21, 2026https://github.com/python/cpython/issues/136063#issuecomment-4291017666
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Jun 28, 2026https://github.com/python/cpython/issues/136063#issuecomment-4827094798
#152521https://github.com/python/cpython/pull/152521
#152519https://github.com/python/cpython/issues/152519
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
on Aug 3, 2026https://github.com/python/cpython/issues/136063#issuecomment-5166132166
https://arxiv.org/pdf/2607.05474https://arxiv.org/pdf/2607.05474
https://github.com/fweimer-rh
fweimer-rhhttps://github.com/fweimer-rh
on Aug 4, 2026https://github.com/python/cpython/issues/136063#issuecomment-5177403757
mountain-beaverhttps://github.com/mountain-beaver
on Nov 14, 2026https://github.com/python/cpython/issues/136063#event-36125772342
pythongh-136063: Fix quadratic complexity in email.header.decode_head…https://github.com/mountain-beaver/cpython/commit/61799c325d0d76d8e807d2f74f03c6221529387c
pythongh-136063https://github.com/python/cpython/issues/136063
61799c3https://github.com/mountain-beaver/cpython/commit/61799c325d0d76d8e807d2f74f03c6221529387c
picnixzhttps://github.com/picnixz
3.10 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.10%20(EOL)%22
on Nov 16, 2026https://github.com/python/cpython/issues/136063#event-36243525309
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/136063
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/136063
3.11only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.11%22
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
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
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
type-securityA security issuehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-security%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.